[luatex] How to letter space font?

Ulrike Fischer luatex at nililand.de
Tue Sep 18 10:24:54 CEST 2018


Am Tue, 18 Sep 2018 08:50:01 +0200 schrieb Patrick Gundlach:

> Hello all, 
> 
> 
> 
> I need to insert little spaces between characters / glyphs in a
> word. If I understand the manual correctly, there was a primitive
> \letterspacefont in pdftex doing that. Is there something similar
> in LuaTeX? (I have never used the PDFTeX's command). 

the command exists in luatex too. But there was a bug in 1.07 (and
in some version of 1.08) and it failed for tfm-fonts with virtual
fonts.


\input luaotfload.sty
\font\1="name:SourceSansPro-Regular" at 10pt %
\1 aaa

\letterspacefont\2\1 100
\2 aaa

\bye

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



More information about the luatex mailing list