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 -
Can you tell me more about this hack? I struggled to get box drawing characters to align on both MacOS and Windows. Was either one or the other.
3 replies 0 retweets 0 likes -
The exception to this is when the useTypoMetrics flag is set. Because that, when used in ‘aware’ apps on Windows, means that the sTypo values are used instead, resulting in more typographic vertical metrics. In which case, hhea should be set to the sTypo values.
1 reply 0 retweets 0 likes -
So can you set all three the same? Also can't find useTypoMetrics flag in FontLab Studio 5. (pic.twitter.com/vWjVBAQwrn
2 replies 0 retweets 0 likes -
If you really did want to set the useTypo value, you might have to use another font file editing mechanism like TTX (https://github.com/fonttools/fonttools …) or OTMA (https://www.fontmaster.nl/index.php/otmaster/ …).
1 reply 0 retweets 0 likes -
FWIW I quickly ran ttx on a bunch of fonts (including the test one you send) and couldn’t find useTypoMetrics there. Disclaimer: not a ttx expert
1 reply 0 retweets 0 likes -
Replying to @mwichary @aaronbell and
OOoh, it’s possibly hiding in fsSelection, isn’t it.
2 replies 0 retweets 0 likes -
Yup :)
1 reply 0 retweets 0 likes
Confirmed!
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.