[Dev-luatex] negative protrusion values

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


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:

   % Opentype:
   \font\x="Latin Modern Roman" at 12pt
   % Type1:
%  \font\x=cmr12
\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


More information about the dev-luatex mailing list