1
0
mirror of https://github.com/google/fonts.git synced 2024-12-24 01:02:14 +03:00
fonts/cc-by-sa/knowledge/glossary/terms/em/content.md
2022-03-28 12:02:37 -07:00

1.2 KiB

An em is a unit of measurement, relative to the size of the font; therefore, in a typeface set at a font-size of 16px, one em is 16px.

The em square is the “box” that each glyph is sized relative to. So, at 12 points, the em square is 12 points wide. The boundary of the box typically sits slightly above the cap-height and slightly below the descender.

The word “Rhys” with a box highlighting the em square around the “h” glyph and horizontal lines showing the type’s vertical metrics.

The em dash is so named because its width, in theory, is one em—although in many fonts the em dash is somewhat narrower. An en dash takes up approximately half the space of an em square.

On the left, an “h” glyph sitting inside an em square, with arrows illustrating its total width. On the right, an em dash, occupying nearly the same width.

Historically, the em unit itself was named after the width of the capital M; however, in any digital font, the M may be wider or narrower than the em square of that font.