This is an old revision of the document!


Bad Font Metrics Are Bad: Why Good Font Metrics Matter

CSS relies on accurate font metrics to generate correct layouts. Unfortunately, most fonts provide inaccurate font metrics. This page is a collection of where CSS uses, or would like to use, font metrics and why it sucks to have bad font metrics in your font.

Font Metrics Used by CSS

  • alphabetic baseline
  • ascent (insert OpenType label here)
  • descent (insert OpenType label here)
  • ex height (insert OpenType label here)
  • cap height (insert OpenType label here)

Superscripts and Subscripts

Initial Letters and Drop Caps

Underlines and Overlines

 
ideas/bad-font-metrics.1515782554.txt.gz · Last modified: 2018/01/12 10:42 by fantasai
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki