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.lua

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


_______________________________________________
dev-luatex mailing list -- dev-luatex@ntg.nl
To unsubscribe send an email to dev-luatex-le...@ntg.nl

Reply via email to