[luatex] \letterspacefont and expansion

Robert w.m.l at gmx.net
Thu Feb 14 01:29:51 CET 2013


Hi,

a microtype user has stumbled upon a problem with \letterspacefont in 
combination with font expansion[1]: In lines with full (positive or 
negative) expansion, luatex always uses the normal font instead of the 
letterspaced instance. This happens regardless whether the letterspaced 
font is itself expanded. It is ok in lines which are only partially 
expanded.


\pdfadjustspacing2
\pdffontexpand\font 20 20 2 autoexpand
\letterspacefont\lsfont\font 200
%\pdffontexpand\lsfont 20 20 2 autoexpand
\spaceskip1ex
\tracingoutput1
\showboxbreadth1000

\hsize162pt % expansion = -18
testing {\lsfont letter space} testing testing testing

\hsize161pt % expansion = -20
testing {\lsfont letter space} testing testing testing

\parfillskip0pt % expansion = +20
testing {\lsfont letter space}
\bye

Thanks,
-- 
  Robert

[1] MID: <ao21k0F13q7U1 at mid.individual.net>




More information about the luatex mailing list