Advertisement


Can TrueType fonts contain color?


Question

Google's Noto Fonts include, in addition to Noto Emoji, the color TTF font called Noto Color Emoji.

Can TrueType fonts have built-in colors?

2016/01/03
1
7
1/3/2016 1:38:00 PM

Accepted Answer

There is no official or standardized answer to this, but many of the big players have undertaken mostly-independent efforts to extend or replace existing type specifications to include color, and it looks like many of those efforts are because of emoji support. Some of these companies' specifications, while not accepted as standard, have already been implemented in their products.

The most concise-yet-balanced source I could find was the OpenType page on Wikipedia, which I'll summarize here:

  1. Apple added an extension in OS X Lion for colored emoji fonts. The implementation used PNG graphics (raster).
  2. Google did something similar in FreeType 2.5.
  3. Microsoft added color support in Windows 8.1 with the Segoe UI Emoji font. Microsoft's implementation uses vector graphics.
  4. Mozilla and Adobe have proposed adding full SVG support (including color and animation) to OpenType fonts, supported since Firefox 26.
2016/01/02
12
1/2/2016 8:48:00 PM