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
748 stars 21 forks source link

Change quality=height on subset font Montserrat #24

Open PersonalityFox opened 10 months ago

PersonalityFox commented 10 months ago

Hi

Can you tell me what the problem might be? I noticed that the font became less clear after the subset. I put together a small demo for testing locally. Here you can see how the font height changes relative to the original. I haven’t tested it on others yet, but this is exactly what happens with Montserrat 400 and 500. Chrome and Firefox on macos.

Subset font

ps Checkbox enables the subset font

Fonts download from google-webfonts-helper (version 26)

In console im use this command

glyphhanger --subset="*.ttf" --formats=woff2 --whitelist="U+0020-007E, U+0080, U+0088, U+0091-0094, U+0096-0099, U+00A0, U+00A7, U+00A9, U+00AB, U+00BB, U+00AE, U+0301, U+0401, U+0410-044F, U+0451, U+2116"
> brotli --version
brotli 1.0.9

> glyphhanger --version
5.0.0
PersonalityFox commented 10 months ago

Today im check Roboto 400,500,700 v30 https://gwfh.mranftl.com/fonts/roboto?subsets=cyrillic,latin Hes looking good

I'll check other fonts later