googlefonts / fontc

Where in we pursue oxidizing (context: https://github.com/googlefonts/oxidize) fontmake.
Apache License 2.0
85 stars 14 forks source link

fea-rs should prune unreachable lookups #1047

Open cmyr opened 1 month ago

cmyr commented 1 month ago

There's definitely something funny going on here; our GSUB is about 190kb, versus 67.5kb for fontmake.

It might be that fontc just isn't doing 'dead lookup' analysis at all? Looking at the FEA for that font it does appear that there are a bunch of lookups that get declared but then are never added to a feature...

Originally posted by @cmyr in #1046

khaledhosny commented 1 month ago

I don’t think feaLib does such pruning either.