I have a 5 simple steps to embed fonts in a matlab figure for use in a
latex document.
1. Save a matlab figure from matlab to EPS format.
2. Run ps2pdf14 dPDFSETTINGS=/prepress unembedded_fig.eps
embedded_fig.pdf.
Note You can check the font is embedded by running
pdffonts embedded_fig.pdf
and check that the normal Helvetica font is embedd as BGISHF
+Helvetica, for example.
3. You can either build your latex document with pdflatex,
usepackage{graphicx} & \includegraphics{embedded_fig.pdf}, OR
4. run pdftops eps embedded_fig.pdf embedded_fig.eps
5. run ps2eps embedded_fig.eps
6. rename embedded_fig.eps.eps to embedded_fig.eps
7. Build your latex document with latex, usepackage{graphicx} &
\includegraphics{embedded_fig.eps}.
Finally, check the font is embedded by running
pdffonts ~/my_article.pdf
and check that the normal Helvetica font is embedd as BGISHF+Helvetica.
