Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslanska committed Oct 23, 2023
1 parent 965f6ab commit 1ca7079
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/fonts.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ There can't be any single font that covers all of Unicode, since Unicode has 1,1

A couple quick definitions required for further discussion:

> **Definition** Sidebearings are the empty space around a character, both to the left and right.
> **Definition:** *Sidebearings* are the empty space around a character, both to the left and right.
> **Definition** Advance width is the horizontal distance that a glyph occupies, including its sidebearings.
> **Definition:** *Advance width* is the horizontal distance that a glyph occupies, including its sidebearings.
In other words, the distance between the glyph's initial pen position and the next glyph's initial pen position.

Expand Down
2 changes: 1 addition & 1 deletion docs/glyph_code_point_discrepancies.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> **Unicode Definition:** A [*glyph*](https://unicode.org/glossary/#glyph) is a an abstract form that represents one or more glyph images.
> **Definition** A [*font*](https://unicode.org/glossary/#font) is a collection of glyphs used for the visual depiction of character data.
> **Definition:** A [*font*](https://unicode.org/glossary/#font) is a collection of glyphs used for the visual depiction of character data.
The width of some glyphs do not match their East Asian Width value. For example, `🛡` (shield emoji) and `🗡️` (dagger emoji) have an East Asian Width of `N` (Neutral). However, the default emoji glyph used on Apple ([Apple Color Emoji](https://emojipedia.org/apple)), Google ([Noto Color Emoji](https://fonts.google.com/noto/specimen/Noto+Color+Emoji)), and Microsoft ([Segoe UI Symbol](https://learn.microsoft.com/en-us/typography/font-list/segoe-ui-symbol)) platforms to render it has double width. This is why the example in the Readme, "🔥🗡🍩👩🏻‍🚀⏰💃🏼🔦👍🏻" has width 15, despite the fact that it appears as if it should have width 16.

Expand Down

0 comments on commit 1ca7079

Please sign in to comment.