Bugs item #199, was opened at 2004-09-23 02:43
You can respond by visiting:
http://sarovar.org/tracker/?func=detail&atid=493&aid=199&group_id=106
Category: None
Group: None
Status: Closed
Resolution: Rejected
Priority: 5
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: font expansion: characters may vanish
Initial Comment:
For extremely large shrink values, characters may not
be visible in the pdf output (although the fonts seem
to be embedded), e.g. in the following file:
%----------------------------------------------
\hsize220pt
\pdfadjustspacing=2
\font\testfont=cmr17 at 90pt\testfont
\pdffontexpand\font 0 1000 100 autoexpand
\efcode\font`\s=500
\efcode\font`\e=500
\efcode\font`\y=500
see what you get\penalty-10000
\bye
%----------------------------------------------
or even worse:
%----------------------------------------------
\hsize180pt
\pdfadjustspacing=2
\font\testfont=cmr17 at 90pt\testfont
\pdffontexpand\font 0 1000 100 autoexpand
see what you get\penalty-10000
\bye
%----------------------------------------------
The font `cmr17-Extend_100' will not be visible.
I only managed to achieve this effect with extremely
large font sizes, which may or may not be related (it
could also be that I didn't find the `magic' \hsize).
If you force the characters to shrink even more, for
example by setting \hsize to 120pt in the latter test
file, the unexpanded font will be used, thus printing
the characters over each other.
Regards,
Robert
PS. I didn't bother to create expanded fonts, so I
cannot tell whether it depends on the autoexpand feature.
----------------------------------------------------------------------
Comment By: Nobody (None)
Date: 2004-09-29 03:36
Message:
Logged In: NO
But the problem I mentioned above in the last paragraph
isn't related to Acrobat Reader, is it?
% ------------------------------------------
\hsize35pt
\pdfadjustspacing=2
\font\testfont=cmr12\testfont
\pdffontexpand\font 0 1000 100 autoexpand
text text text text\penalty-10000
\bye
% ------------------------------------------
Seems like a sanity check is missing somewhere. If my guess
is right, pdftex tries to use the font `cmr17-Extend_0',
which (incorrectly) translates into the base font. What it
should probably do is use the smallest available expanded
font, i.e. in this case Extend_100, and make the line overfull.
Regards,
Robert.
----------------------------------------------------------------------
Comment By: Martin Schröder (oneiros)
Date: 2004-09-27 20:57
Message:
Logged In: YES
user_id=421
An Acrobat Reader bug. :-)
----------------------------------------------------------------------
Comment By: Nobody (None)
Date: 2004-09-23 03:32
Message:
Logged In: NO
Obviously, I filed this report too early. Sorry about that.
It is not a pdftex bug, but appears to be a bug in Acrobat
Reader 6. (Just to tell you what I saw:) At zoom level 200%
or larger, the font most shrunk (Extend_100) is not visible
on screen. That is, in the first example, I only see "See y
e", in the second, nothing at all. However, if I zoom out,
the characters re-appear.
Sorry for not zooming out earlier.
Regards,
Robert.
----------------------------------------------------------------------
You can respond by visiting:
http://sarovar.org/tracker/?func=detail&atid=493&aid=199&group_id=106