allsorts icon indicating copy to clipboard operation
allsorts copied to clipboard

Serializing into WOFF2?

Open gendx opened this issue 1 year ago • 1 comments

It seems that the subset() function is hard-coded to output the result in OpenType format. I was wondering if you would consider adding a way to serialize into WOFF2 format as well? WOFF2 can be useful for web contexts, to embed the font into SVG files, etc.

gendx avatar Dec 21 '23 14:12 gendx

While possible, I don't think this would be a high priority as it's fairly easy to convert a TTF to WOFF2 with something like woff2_compress from https://github.com/google/woff2. Also be aware of #27 in regards to subsetting.

wezm avatar Dec 21 '23 22:12 wezm