[Poppler-bugs] [Bug 69485] Adobe Distiller cannot process PostScript file generated by poppler pdftops

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 26 14:33:00 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=69485

--- Comment #10 from James Cloos <cloos at jhcloos.com> ---
> %%[ Warning: Times-Italic not found, using Font Substitution. Font cannot be embedded. ]%%
> %%[ Warning: Times-Roman not found, using Font Substitution. Font cannot be embedded. ]%%
> %%[ Error: invalidfont; OffendingCommand: xyshow ]%%

pdffonts shows:

name                   type       encoding   emb sub uni object ID
---------------------- ---------- ---------- --- --- --- ---------
TimesNewRoman,Italic   TrueType   WinAnsi    no  no  no       6  0
TimesNewRoman          TrueType   WinAnsi    no  no  no       7  0

Pdftops produces postscript which relies on the PS engine having
the fonts /Times-Roman and /Times-Italic built-in.  Ie, if this
works then the pdftops output also should:

%!
/Times-Roman 24 selectfont
100 200 moveto (Times-Roman) show
/Times-Italic 24 selectfont
100 100 moveto (Times-Italic) show
showpage
%

Adding pdftops’ pdfMakeFont procedure should lead to a simplified ps
which demonstrates the error.

Pdftocairo, OTOH, uses fontconfig to find a substitute and embeds that
in the postscript.  Here it ends up with the URW++ fonts from ghostscript.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20140526/8390ae2c/attachment.html>


More information about the Poppler-bugs mailing list