pmeerw's blog

Thu, 17 Jul 2008

Embedding fonts in PDFs

To convert a Postscript files (.ps) to a PDF file and embed all fonts use the command

ps2pdf -dPDFSETTINGS=/prepress -dSubsetFonts=true -dEmbedAllFonts=true paper.ps
(the /prepress setting is important); ps2pdf comes with the Ghostscript package. In order to check if all fonts are embedded, run
pdffonts paper.pdf
The emb column indicates whether the fonts is embedded; pdffonts comes with Poppler, use the poppler-utils package on Ubuntu.

posted at: 13:05 | path: /academic | permanent link

Made with PyBlosxom