latex3 / luaotfload

OpenType font loader for LuaTeX
Other
59 stars 6 forks source link

Letterspacing with dviluatex #239

Open schlcht opened 1 year ago

schlcht commented 1 year ago

Running dvilualatex test && dvipdfmx test on this file:

\documentclass{article}
\showoutput
\begin{document}
\font\x=lmroman10-regular:kernfactor=0.2;
\x HHHH AVAV Twomatoy HH\kern1spHH
\end{document}

yields letterspacing only between glyphs that have (implicit or explicit) kerning.

PS. The log output gets both the fonts and the glyphs wrong; eg. this:

....\FONT18 >

should be

....\x H

[EDIT: Deleted my first PS, since that issue is already fixed in dev. (853c373)]