For all the font foundries or type designers wondering how best to make sure their fonts behave well in @figmadesign, I just published a small guide on how Figma uses font metrics. Let me know if I missed anything important!https://www.figma.com/community/file/838187493478834415 …
-
Show this thread
-
Replying to @mwichary @figmadesign
2) depending on the font, the hhea values are sometimes ‘hacked’ to align with the winAscent and winDescent values (this enables cross-platform consistency). usTypo is a more consistent way to get ‘typographic’ metrics.
2 replies 0 retweets 1 like -
Replying to @aaronbell @figmadesign
I am not sure. This decision predates my arrival at Figma by many years. :·)
1 reply 0 retweets 0 likes -
Let me check for useTypoMetrics in code.
1 reply 0 retweets 0 likes -
Replying to @mwichary @figmadesign
See like 130 in this: https://github.com/googlefonts/fontbakery/blob/fe31deb46b622a80870b9b6cb1f548323d878328/Lib/fontbakery/profiles/universal.py … I think it would be worth reconsidering your approach as hhea is often being changed to follow the OS/2 metrics values to enable crossplatform alignment.
1 reply 0 retweets 1 like -
Replying to @aaronbell @figmadesign
Thanks! I’m having a bit of trouble seeing the result of use typo metrics across apps. Weird question, but can you by any chance point to a font that has Use Typo Metrics enabled that I could use as for testing?
1 reply 0 retweets 0 likes -
FWIW, Google Fonts requires all fonts to set “useTypoMetrics”. https://github.com/googlefonts/gf-docs/tree/master/VerticalMetrics …
1 reply 0 retweets 0 likes
Thanks! But in Google Fonts HHEA and typo values must match, so I don’t imagine this changes anything for Figma.
-
-
Ah, my bad. Thanks!
0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.