zachleat / glyphhanger

Your web font utility belt. It can subset web fonts. It can find unicode-ranges for you automatically. It makes julienne fries.
https://www.zachleat.com/web/glyphhanger/
MIT License
691 stars 20 forks source link

Variable fonts? #22

Open strarsis opened 1 year ago

strarsis commented 1 year ago

So glyphhanger can convert variable fonts (as some newer ones from Google Fonts) as traditional/static fonts? The generated CSS by glyphhanger does not have a font-weight range for that font family. Is that font-weight range required?

strarsis commented 5 months ago

Follow up: Font tools (with WOFF2 support) report font axes, like this tool. Blog post that use glyphhanger or the underlying pyftsubset tool write that those tool also work with variable fonts.