Tuesday, May 03, 2011

IEEE PDF eXpress: Font XXX is not embedded

When a PDF is submitted to IEEE PDF eXpress, a common problem for Latex users is that ‘Font XXX is not embedded’. This happens because fonts are not embedded when converting ps format to PDF format. Therefore, if we add extra command to ask the program that converts ps to PDF to embed all fonts, the problem can be resolved. The following solution is based on the assumption that you have Ghostscript (ver. 8.63 or above) installed and you use ps2pdf to generate your PDF document.

Open the window where you can modify the ps2pdf command arguments. For example, for TeXnicCenter, you can find it through Build—> Define output profiles—> Latex=>PS=>PDF—>Postprocessor—>Ghostscript (ps2pdf). Then add the following command:

-dPDFSETTINGS=/printer

-dPDFSETTINGS=configuration calls the predefined settings when converting ps to PDF. The parameter ‘configuration’ can be one of the following: /screen, /ebook, /printer, /prepress, or /default.

The ‘/printer’ option sets the EmbedAllFonts option to be true by default. Actually, except the /screen option, all other options will embed the fonts.

If you use '/printer' option, ps2pdf may give you the following error and doesn't generate proper PDF files:
"Set UseCIEColor for UseDeviceIndependentColor to work properly."

Use the option -dPDFSETTINGS=/prepress instead (see http://www.michaelshell.org/tex/testflow/).

Further details can be found at http://www.ghostscript.com/doc/9.05/Ps2pdf.htm#Options.

References:
http://people.engr.ncsu.edu/txie/publications/writingtools.html#missingfont
http://www.michaelshell.org/tex/testflow/

2 comments:

  1. Great! So useful!

    ReplyDelete
  2. You will get the best solution here for PDF EXPRESS ERROR !!

    ReplyDelete