
9 Apr
2025
9 Apr
'25
1:10 p.m.
Hello Max,
although that is kinda ugly. But the LaTeX additions to luaotfload support variable fonts via HarfBuzz, so you should probably look at what they're doing there.
I wish I could avoid the magic that is being done there: https://github.com/latex3/luaotfload/blob/main/src/luaotfload-harf-var-ttf.l... currently I use the high-level harfbuzz API for font loading and shaping, parsing the font just for variable fonts is not something I am keen to implement (especially since there is some alternative in form of the harfbuzz subsetting library). Patrick