[NTG-pdftex] [ pdftex-Bugs-116 ] character protrusion: pdftex may hang

noreply at sarovar.org noreply at sarovar.org
Fri Sep 17 00:18:02 CEST 2004


Bugs item #116, was opened at 2004-09-10 21: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: Open
Resolution: None
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: Hartmut Henkel (hhenkel)
Date: 2004-09-16 22: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