Thursday, September 11, 2014

Embedding BASE-14 Fonts in PDF from Latex output

By looking into the fonts pane of the  properties of a PDF File with Adobe Acrobat Reader you see, whether all fonts are embedded or not.

Initially I followed this little Tutorial to set the options right:

http://www.hamilton.ie/gavinmc/docs/timesinpdfs.html

However, one configuration entry was still missing to get everything embedded in a Miktex Windows environment:
-dPDFSETTINGS=/prepress

Finally, I print to pdf with the following flags using GPL Ghostscript 9.14:

-dPDFSETTINGS=/prepress  -dCompatibilityLevel=1.3 -dHaveTrueTypes=true -dEmbedAllFonts=true -sPAPERSIZE=a4 -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile="%bm.pdf" -c save pop -f "%bm.ps"

(%bm.pdf are just wildards for document names of texnic center)

Thanks to Georg for sending me his options and giving me the important hint!

No comments:

Post a Comment