Friday, 17 July 2009

Embedding fonts in a PDF document and in eps figures

Usually, papers produced with LaTeX are not accepted unless all fonts are embedded in the document. Doing this is really easy if you're going the LaTeX -> DVI -> PS -> PDF way. Once compiled, just call the following on the postscript.
ps2pdf14 -dPDFSETTINGS=/prepress filename.pdf
This should now contain all fonts embedded. You can check this by calling:
pdffonts filename.pdf
As for embedding fonts in eps figures that are produced using MATLAB, this is a little bit more complex. Use this m file. Usage is easy. Just run print_eps filename from within MATLAB. An eps with fonts embedded should be produced within the current directory.

No comments:

Post a Comment