[NTG-pdftex] [ pdftex-Bugs-242 ] Assertion failure when including pdf file without embedded fonts

Hartmut Henkel hartmut_henkel at gmx.de
Sat Dec 4 15:38:51 CET 2004

Not yet tried Akira's patch, but there is another problem (ooops they
are piling up):

Formerly one could write "!foo.pfb" in the mapfile and the font file
would not be embedded. So it's also documented. This has silently
changed, now one can just write "foo.pfb" to have it not embedded.
(Writing "<foo.pfb" would embed the subset, and "<<foo.pfb" the whole

Now "!foo.pfb" will be treated by the inner pdftex workings as font with
name "!foo.pfb" which is not found, obviously. So pdftex munges
"!foo.pfb" and "foo.pfb" differently.

Then e. g. some file

\pdfcompresslevel=0 \nopagenumbers
\pdfmapline{cmr10 CMR10 cmr10.pfb}
\font\cmr cmr10 at 30pt \cmr

with some file x-nb-e.pdf made from:

\pdfcompresslevel=0 \nopagenumbers
\pdfpagewidth=300pt \pdfpageheight=300pt
\hsize=\pdfpagewidth \advance\hsize by-2in
\vsize=\pdfpagewidth \advance\vsize by-2in
\pdfmapline{cmr10 CMR10 <cmr10.pfb}
\font\cmr cmr10 at 30pt

creates a broken PDF!

1. i would plea for having the "!" notion in again for backward
compatibility, and to have a base for repairing the rest. Never used "!"
but there may be people in the "expensive font scene"...

2. There is something else broken, if the replacement font is not marked
to be embedded. This doesn't even touch the bug-242 assert problem.

Regards, Hartmut

More information about the ntg-pdftex mailing list