Hi Daan,
Current PostScript implementation supports only the fonts listed below,
- Courier
- Helvetica
- ZapfDingbats
- Times
- Times-Roman
To support other fonts there are several possible workarounds,
- Print the figure to an SVG file, and then convert it to EPS with Inkscape (https://inkscape.org/en/)
- Print the figure to a PDF, use ghostscript to embed the fonts, and then convert to EPS. Here is the ghostscript command to run on the command prompt:
gs -dSAFER -dNOPLATFONTS -dNOPAUSE -dBATCH -sDEVICE=pdfwrite
-sPAPERSIZE=letter -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer
-dCompatibilityLevel=1.4 -dMaxSubsetPct=100 -dSubsetFonts=true
-dEmbedAllFonts=true -sOutputFile=embed.pdf -f unembed.pdf
In the above command, change only the filenames in red.
You can then convert the PDF to EPS using "pdftops" (a UNIX command) or "pdf2ps" (in ghostscript library).
- There are also several File Exchange submissions that might address the issue: https://www.mathworks.com/matlabcentral/fileexchange/35429-eps-utility-toolboxhttps://www.mathworks.com/matlabcentral/fileexchange/7501-printeps
If you have any issues with the File Exchange submissions, feel free to reach out to the authors.