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: <[email protected]>


Reply via email to