[NTG-pdftex] [ pdftex-Bugs-116 ] character protrusion: pdftex may
hang
noreply at sarovar.org
noreply at sarovar.org
Wed Dec 22 15:53:03 CET 2004
Bugs item #116, was opened at 2004-09-10 23:58
You can respond by visiting:
http://sarovar.org/tracker/?func=detail&atid=493&aid=116&group_id=106
Category: hz
Group: v1.20a
>Status: Closed
>Resolution: Fixed
Priority: 7
Submitted By: Nobody (None)
Assigned to: The Thanh Han (hanthethanh)
Summary: character protrusion: pdftex may hang
Initial Comment:
pdfTeX will fail on the following LaTeX file:
----------------------------------------------------
\pdfprotrudechars 2
\documentclass{minimal}
\begin{document}
\fontsize{7}{8}\selectfont
This paragraph consists of more than two lines.
This paragraph consists of more than two lines.
This paragraph consists of more than two lines.
%% same for this paragraph:
% This is \hfill an empty line
\end{document}
----------------------------------------------------
pdfTeX will hang while building the paragraph, so it
seems.
This does not happen with other font sizes. Also, it
somehow seems to depend on the fonts preloaded in the
format file. If I change this line in preload.ltx:
\DeclarePreloadSizes{OT1}{cmr}{m}{n}{5,7,10}
so that the font for size 10 will be loaded first, and
recreate the format, all is well.
I am using:
This is pdfeTeX, Version 3.141592-1.20a-2.2 (MiKTeX 2.4))
Regards,
Robert.
----------------------------------------------------------------------
Comment By: Martin Schröder (oneiros)
Date: 2004-12-22 15:53
Message:
Logged In: YES
user_id=421
This has been fixed in 1.20b
----------------------------------------------------------------------
Comment By: Nobody (None)
Date: 2004-10-14 15:11
Message:
Logged In: NO
I have also had this problem with v1.10a and v1.20a. The problem only
occurs with \pdfprotrudechars=2 (not when it is 1). Changing the font-size
sometimes fixes it, as does changing the font encoding (presumably this
alters the line breaking sufficiently not to bring about the specific conditions
that cause the hang).
----------------------------------------------------------------------
Comment By: Hartmut Henkel (hhenkel)
Date: 2004-09-17 00:18
Message:
Logged In: YES
user_id=929
seems it's a loop in hz.ch, function total_pw(), always
returning to the reswitch: label. I don't know what's going
on, but supposing that the current line loop or whatever
should end when the post_break(l) is reached, just shifting
the goto reswitch; to this place:
decr(n);
end;
goto reswitch;
end;
end;
total_pw := left_pw(l) + right_pw(r);
end;
seems to make it work. No idea how to test it...
----------------------------------------------------------------------
You can respond by visiting:
http://sarovar.org/tracker/?func=detail&atid=493&aid=116&group_id=106
More information about the ntg-pdftex
mailing list