1
0
mirror of https://github.com/google/fonts.git synced 2024-12-19 06:41:31 +03:00
fonts/cc-by-sa/knowledge/glossary/terms/em/content.md
repeatdailystudio 86f3139740
Update content.md
Added quotes around "M" for consistency with other pages
2022-03-31 16:00:27 -04:00

22 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

An em is a [unit](/glossary/unit) of measurement, relative to the size of the [font](/glossary/font); therefore, in a [typeface](/glossary/typeface) set at a `font-size` of 16px, one em is 16px.
The em square is the “box” that each [glyph](/glossary/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.
<figure>
![The word “Rhys” with a box highlighting the em square around the “h” glyph and horizontal lines showing the types vertical metrics.](images/thumbnail.svg)
</figure>
The [em dash](/glossary/dashes) is so named because its width, in theory, is one em—although in many fonts the em dash is somewhat narrower. An [*en* dash](/glossary/en) takes up approximately half the space of an em square.
<figure>
![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.](images/em_2.svg)
</figure>
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.