This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ideas:bad-font-metrics [2018/01/12 10:48] – [Font Metrics Used by CSS] fantasai | ideas:bad-font-metrics [2021/10/01 15:06] (current) – removed fantasai | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Bad Font Metrics Are Bad: Why Good Font Metrics Matter ====== | ||
- | |||
- | CSS relies on accurate font metrics to generate correct layouts. Unfortunately, | ||
- | |||
- | ===== Index of Font Metrics Used by CSS ===== | ||
- | |||
- | * alphabetic baseline | ||
- | * ascent ('' | ||
- | * descent ('' | ||
- | * ex 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 ===== | ||
- | |||
- | ===== Initial Letters and Drop Caps ===== | ||
- | |||
- | ===== Underlines and Overlines ===== | ||
- | |||