yeslogic / allsorts-tools

Various font tools built using Allsorts
Apache License 2.0
79 stars 12 forks source link

Subset command error #34

Closed LuoZijun closed 1 year ago

LuoZijun commented 1 year ago

Subset Command:

$ ./allsorts subset --text "abcdefg" SourceSerif4Variable-Roman.otf d1.otf

Output:

Number of glyphs in new font: 8
Error: subset: parse error: an expected data value was missing

SourceSerif4Variable-Roman.zip

wezm commented 1 year ago

Allsorts is failing to parse the font because it's missing a glyf table. The name of the font suggests it's a variable font, which isn't supported yet: https://github.com/yeslogic/allsorts/issues/51

LuoZijun commented 1 year ago

Thank you for your reply, is there any plan to implement this?

mikeday commented 1 year ago

We would like to implement support for variable fonts but it's a big job and not scheduled yet.