[Poppler-bugs] [Bug 23030] patch to disable font substitution in pdftops

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 30 06:22:35 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=23030





--- Comment #4 from William Bader <williambader at hotmail.com>  2009-07-30 06:22:35 PST ---
Created an attachment (id=28192)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=28192)
alternate patch to make the default not substituting fonts

This patch differs from the first patch by adding preprocessor macro
SUBST_FONTS to pdftops.cc.  If it is set non-zero, the default is substituting
fonts.  If it is not defined or set to 0, the default is passing fonts.

Is there any reason to substitute fonts?  Once pdftops substitutes a font,
information is lost, and the resulting postscript will never print correctly. 
If pdftops passes non-embedded fonts unchanged, you still have a chance to view
or print the file correctly if you have the fonts, and if you don't have the
fonts, the worst that will happen is that the viewer or printer substitutes the
fonts, and then you are in the same place as if pdftops did the substitution. 
I have seen systems that reject postscript files with missing fonts, but if
pdftops substitutes missing fonts to keep files from being rejected, it defeats
the purpose of checking for missing fonts.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list