Hi all
I'm not sure this is possible but I thought I'd ask anyway.
Is there a way programatically to list the opentype features in a webfont without opening it.
I know I can open the font is something like Fontlab and see the Opentype features or Open it in a type setting program like Indesign and see which features are available but is there a way to get this from the font without opening it in another program.
I'm developing a website that will show Opentype features and it would be good If I could capture the opentype features in the font without having to open them.
0
Comments
I made something similar to what you're doing. It's called Wakamai Fondue and I'm using Fontkit to analyse fonts and deduct OpenType features from them. The reason I'm using Fontkit over opentype.js is that it supports WOFF2 too. In either case, you'll need to include a hefty JavaScript and write code to list features yourself.
The code to Wakamai Fondue isn't open source but not a super secret either, if you need any help shoot me a message!