Friday, September 16, 2011

Embed Fonts in PDF

Got complaints from your publisher about missing fonts? Here we compile a set of commands that you can embed and check whether your file has included everything.

The source is here
http://www.grassbook.org/neteler/highres_pdf.html
 
  • ps2pdf -dEmbedAllFonts=true main.ps main2.pdf
If you don't have the .ps file with you, try to convert the .pdf file to .ps first
  • pdf2ps main.pdf
You can check whether every font is included by
  • pdffonts main.pdf
That's all!
Please consult with the 2nd link above for the limitation of ps2pdf. In my case, ps2pdf generates high-resolution bitmapped fonts rather than the original outlined fonts. The bitmapped fonts make the resulting .pdf file pretty ugly on the screen though the print-out is fine.

Any solution for that?

1 comment: