This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
ideas:bad-font-metrics [2018/01/12 10:42] – [Bad Font Metrics Are Bad: Why Good Font Metrics Matter] fantasai | ideas:bad-font-metrics [2018/01/12 10:48] – [Index of Font Metrics Used by CSS] fantasai | ||
---|---|---|---|
Line 3: | Line 3: | ||
CSS relies on accurate font metrics to generate correct layouts. Unfortunately, | CSS relies on accurate font metrics to generate correct layouts. Unfortunately, | ||
- | ===== Font Metrics Used by CSS ===== | + | ==== List of Font Metrics Used by CSS ==== |
* alphabetic baseline | * alphabetic baseline | ||
Line 11: | Line 11: | ||
* cap height ('' | * cap height ('' | ||
* ... | * ... | ||
+ | |||
+ | ===== Font-relative Units ===== | ||
+ | |||
+ | CSS has a variety of [[https:// | ||
+ | |||
+ | XXX Draw some examples of cap height and ex height stripes and things. | ||
+ | |||
+ | XXX Gaiji example using ic unit to maintain sizing relative to surrounding text. | ||
===== Superscripts and Subscripts ===== | ===== Superscripts and Subscripts ===== |