[Dev-luatex] negative protrusion values

Robert w.m.l at gmx.net
Thu Sep 23 22:01:48 CEST 2010


Hi,

luatex doesn't deal with negative protrusion values correctly -- for 
opentype fonts, the margin kern is too small, while for type1 fonts it's 
way off, and even in the wrong direction:

\tracingoutput1
\showboxbreadth\maxdimen
\showboxdepth\maxdimen
   % Opentype:
   \input{luaotfload.sty}
   \font\x="Latin Modern Roman" at 12pt
   % Type1:
%  \font\x=cmr12
\x
\pdfprotrudechars2
\parindent=0pt
\lpcode\x`N=-500 \rpcode\x`N=-500
\lpcode\x`Z= 500 \rpcode\x`Z= 500
H\hfill H\penalty-10000 N\hfill N\par
H\hfill H\penalty-10000 Z\hfill Z\par
\bye



Regards,
-- 
  Robert


More information about the dev-luatex mailing list