Re: [NTG-pdftex] [ pdftex-Bugs-242 ] Assertion failure when including pdf file without embedded fonts
Hi,
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 "
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.
formerly both "foo.pfb" and "!foo.pfb" were possible, but they had different meaning: "foo.pfb" means "read the font file to extract all parameters but do not embed it" while "!foo.pfb" means "don't read anything", and the font descriptor is not created. "!foo.pfb" only works if the font is installed onto the system where the pdf is being viewed -- it works more or less similarly to the 14 base fonts, except that the 14 base fonts are built into acroreader while foo.pfb must be installed onto the system properly (which is not easy at all on unix systems). The reason I implemented it was that I though it would speed up the time acrobat reader loads such a document, which was important for efficient edit-compile-view-edit cycle while pdftexing. I think we should drop "!foo.pfb". Thanh
Hi Thanh, On Thu, 6 Jan 2005, The Thanh Han wrote:
formerly both "foo.pfb" and "!foo.pfb" were possible, but they had different meaning: "foo.pfb" means "read the font file to extract all parameters but do not embed it" while "!foo.pfb" means "don't read anything", and the font descriptor is not created.
I think we should drop "!foo.pfb".
you already had dropped it, only i put it in again, and incompletely, only the scanning. I really shouldn't have done this, sorry. Hope it's of limited trouble. Now that 1.20b is out, what quickly can be done is removing the '!' case from the manual. Regards, Hartmut P. S. i shuffled the code a bit in this area of mapfile.c to separate .enc and fontfile flags handling, hope that this was ok.
participants (2)
-
Hartmut Henkel
-
The Thanh Han