[luatex] Expanded fonts
listas at tex-tipografia.com
Mon Jun 30 19:00:33 CEST 2014
I need to expand slightly an OTF, but I haven't managed to do it.
What I've done until now is:
local factor = 1.3 -- large, just to see it
local i = font.id("testfont")
local f = font.getfont(i)
for n = 0x21, 0x7d do -- restricted range, as test
f.characters[n].width = f.characters[n].width * factor
f.extend = 1000 * factor
So far so good, but of course kerning is, as you could expect, wrong,
and here I'm stuck. I have also to create somehow a new font (virtual
I presume). How to do both is my question.
More information about the luatex