m18ru / postcss-text-remove-gap

Remove space before and after text strings, added by line-height and extra space in glyph itself.
MIT License
31 stars 0 forks source link

Font metrics resources #4

Open tompazourek opened 7 years ago

tompazourek commented 7 years ago

I recently read a very insightful article by Vincent De Oliveira:

http://iamvdo.me/en/blog/css-font-metrics-line-height-and-vertical-align

In there, he mentions Font Forge and OpenType.js that can load interesting font metrics from a font file. That might a better way of getting various font data than measuring it by hand.

Thought you might be interested in that.

Avol-V commented 7 years ago

Yes, absolutely, thanks! I also read this article and found it very interesting and helpful. I want to combine ideas and tools from this article with ideas from @jedmao (he described similar font metrics).

brandonkal commented 5 years ago

I just published a database of font metrics for ~1500 fonts. This could prove useful for this library. @brandonkal/font-metrics-db