Rod
Rod
WRT to CJK we looked at frequency of character use over millions of pages when looking at shipping CJK on Google Fonts. The reality is you get pages with mostly...
For context, https://lib.rs/crates/read-fonts aims to provide HB-style reading. However, we won't get to shaping until we (optimistic hat firmly on) finish landing https://lib.rs/crates/skrifa.
No. Hm; usually our team defines font works as works in browser. Since OTS is going to kick it out that isn't tremendously helpful. As such I'm not sure what...
(took the liberty of amending the title) Figure out the glyph ids for the icons you want to keep (because using text= may retain other icons reachable with the same...
Reopening because it would be a good feature to have. If you want to DIY I think what you want to do is roughly: 1. Identify what glyphs - not...
> PUA = "Private Use Area" yeah? Yes. On https://fonts.google.com/icons?selected=Material+Symbols+Outlined:menu:FILL@0;wght@400;GRAD@0;opsz@24 this is displayed as codepoint. That codepoint maps directly to the glyph via cmap as described in https://rsheeter.github.io/font101/#glyph-ids-and-the-cmap-table. > ligature...
Apparently I said I would reopen but didn't actually do it
> Another thing that any subsetter needs to do to maintain full functionality is, IF the subset includes the 'FILL' axis, maintain alt glyphs that get swapped at >99% fill...
https://github.com/rsheeter/subset-gf-icons/blob/main/src/subset_gf_icons/subset_gf_icons.py shows finding the glyph ids which one would then feed to subset, etc. I only had a few minutes to play so that's as far as I got :)
If only the intern would come back! https://github.com/googlefonts/nanoemoji can turn svgs into fonts with ligatures but not a variable font. I don't have a secret utility that builds the variable...