mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-29 04:36:47 -06:00
A font's em box is its BASE em box; else, for a CJK font (its font menu group isn't Western: meta or name languages, CJK code pages, else kana, Hangul or ideograph coverage), the OS/2 typo ascender when the typo ascender and descender span exactly one em; else 0.5 em + cap height / 2; else 0.88 em. Latin fonts with a one-em typo box, such as DejaVu Serif, centre on the cap height.