U+845BEnglish
English
Glyph IDs in traditional OpenType are 16 bits, so a font can hold at most 65,535 glyphs. It is another "16 bits will surely be enough" story, just like UCS-2 (in Chinese). Unicode has more than 150,000 characters, and a CJK font alone (such as the full Pan-CJK version of Source Han Sans / Noto Sans CJK) uses exactly 65,535 glyphs. The newer ISO OFF specification defines 24-bit glyph IDs and HarfBuzz 15 supports them, but they are not widely deployed yet.
That is why Google's Noto family is split into hundreds of font files. The name comes from "No more tofu": "tofu" is the box □ shown when no glyph is found (the font's .notdef glyph).
The rendering engine tries a list of fonts in order (CSS font-family, the operating system's fallback settings) and, for each character, picks the first font that has a glyph for it. In practice:
font-family: Latin fonts usually come first, then CJK fonts. If the CJK font comes first, English letters and digits use the Latin glyphs bundled in the CJK font, which usually look worse.Unicode unifies the Han characters used in Chinese, Japanese, Korean and Vietnamese (Han unification): anything considered "the same character" shares one code point, even when the standard written forms differ by region. As a result, the code point alone cannot decide which glyph to draw; you also need to know the language.
Noto Sans TCNoto Sans SCNoto Sans JPNoto Sans KRlang is set, using your system default font (results depend on your OS and browser):lang="zh-Hant-TW"lang="zh-Hans-CN"lang="ja-JP"lang="ko-KR"Why you should set lang
Browsers pick fallback fonts based on the lang attribute. Without lang, Chinese text may be drawn with Japanese glyph forms (common on Android and some Chrome setups). Traditional Chinese sites should always set <html lang="zh-Hant-TW"> (or zh-TW), and mark passages in other languages with their own lang.
This is one of the most controversial designs in Unicode history. Supporters see these as "glyph differences" rather than "character differences", just as the same Latin letter can be written in different typefaces; opponents point out that readers in each region see the other forms as misspellings. The root of the controversy goes back to 16 bits again: without unification, 65,536 positions would never have been enough.
When an exact glyph is required (for example Japanese personal names, place names and family registers), a Han character can be followed by a variation selector (U+E0100–U+E01EF, VS17–VS256) to form an IVS that selects a specific glyph registered in the Ideographic Variation Database. Like VS16 for emoji, it is an invisible code point that inflates the "character count", and it only has an effect if the font supports it.
U+845B+ U+E0100+ U+E0101U+8FBB+ U+E0100+ U+E0101Emoji commonly use color glyphs. Early on, the major vendors each proposed their own extension, and these were later added to the OpenType specification. The following are different ways of representing color glyphs, and they can coexist in the same font file:
| Format | Backed by | Contents | Representative font |
|---|---|---|---|
sbix | Apple | Embedded images grouped by size, usually PNG but not limited to PNG | Apple Color Emoji |
CBDT / CBLC | Color bitmap data and index, supports embedded PNG | The CBDT build of Noto Color Emoji | |
COLR / CPAL v0 | Microsoft | Layers of single-color vector shapes | Segoe UI Emoji (Windows 11 22H2 added COLRv1 in the September 2023 update; Microsoft calls it a hybrid font that also contains COLRv0 and monochrome glyphs for programs without v1 support) |
SVG | Adobe, Mozilla | Restricted SVG documents embedded in the font | OpenType-SVG color fonts |
COLR / CPAL v1 | Google, Microsoft and others | Vectors + gradients, transforms, compositing | The COLRv1 build of Noto Color Emoji |
Bitmap formats can blur when scaled beyond their original resolution, and data for multiple sizes can make files larger. OpenType-SVG needs additional SVG parsing and drawing support, but the specification forbids scripts, external resources and similar features, so it is not a full web runtime. COLRv1 builds color glyphs from reusable vectors and paint graphs, aiming to be compact, scalable and to support variable fonts; it cannot be said to have replaced all other formats.
For format details, see Apple's sbix specification, the OpenType CBDT, COLR and SVG specifications, and the original Adobe / Mozilla SVG-in-OpenType draft. Noto Color Emoji is released in several formats, so it should not be split simply into "old CBDT, new COLRv1".
According to MDN Browser Compatibility Data for @font-face rendering support, these are the first desktop browser versions with support. This comes from the documentation and was not tested in each browser:
| Format | Chrome | Firefox | Safari |
|---|---|---|---|
| COLRv0 | 71+ | 31+ | 11.1+ |
| COLRv1 | 98+ | 107+ | Listed as unsupported |
sbix | 66+ | Listed as unsupported | 9.1+ |
| OpenType-SVG | Listed as unsupported | 31+ | 12.1+ |
Chrome 98's COLRv1 support is also covered in Chrome's announcement. Real deployments should still be verified against the browsers, operating systems and fonts in use; OpenType-SVG is a different technology from the deprecated standalone SVG Fonts.
Many symbols have both a "text presentation" (monochrome) and an "emoji presentation" (color), selected by a variation selector:
| Sequence | Intent |
|---|---|
❤ U+2764 | Unspecified, platform default (usually text presentation) |
❤︎ U+2764 U+FE0E (VS15) | Request text presentation |
❤️ U+2764 U+FE0F (VS16) | Request emoji presentation |
The final result still depends on font and platform support, and this is one source of the terminal width problem: counting per code point, ❤ is usually counted as 1 column, while ❤️ may be drawn as 2 columns in terminals that support emoji presentation.