← Glossary

What tofu is

Last updated: 2026-10-31/~4 min

This article takes about 4 minutes to read.

The phenomenon of a blank box like □ suddenly appearing. This is the way characters that a font does not support are displayed, known as "tofu".When □ or ⌷ line up on the screen, it looks like some kind of bug, but in fact it is a design in which the rendering side honestly says "I do not have this character". It is a phenomenon you often run into with emoji and decorative characters, and knowing the countermeasures makes your design and UI decisions more rational.

Definition

Tofu is the blank rectangle or placeholder shape drawn as a substitute when a font does not have a glyph for a Unicode codepoint. Technically, it is the common name for the ".notdef glyph" (not defined glyph) in font standards such as OpenType.

The name "tofu" comes from the way it looks like a white block of tofu, and it is a nickname used in the fields of Web development and typography. The name of Google's font family "Noto" is also sometimes explained as meaning getting rid of tofu (no more tofu).

Causes of tofu

1. The font does not have the character

The most typical cause. When the font specified in a Web page's CSS does not have a glyph for a particular Unicode codepoint, the browser tries fallback fonts in order, and if it still cannot find a matching glyph, it displays tofu.

2. The system font is old

Because emoji have been added with each Unicode version, a device with an old system font may not have glyphs for emoji added after that font. On old Android and iOS, and on Windows that is no longer updated, there are cases where emoji become tofu for this reason.

3. Fallback failure when no font is specified

If you specify only one font in CSS font-family and do not write a generic fallback (such as sans-serif), the OS may fail to guess a suitable font, and the result can be tofu.

4. Fancy text (Unicode extended ranges)

Decorative characters often used in emoji art, such as 𓆩 𓆪 𖣘 ৎ, are in areas such as Unicode's Supplementary Multilingual Plane, a region that standard fonts often do not cover. They are a prime example of characters that easily turn into tofu on old devices.

Variations in how tofu looks

DisplayEnvironmentMeaning
□Many operating systemsThe standard .notdef glyph
⌷Some fontsSubstitute display for undefined characters
?Old devicesQuestion mark
U+1F33B (hexadecimal)Debug displayShows the codepoint as a string

Countermeasures

1. Secure supported characters with Web fonts

Serving Noto Color Emoji from Google Fonts or Twemoji as a Web font reduces dependence on the fonts on the user's device (if loading fails, it falls back to the device's fonts). This is the method adopted when a brand wants to keep visual consistency.

2. Work on the font stack

Specify several fonts in order in CSS so that characters that are not supported are filled in by the next font.

font-family: "Hiragino Sans", "Yu Gothic", "Noto Color Emoji", sans-serif;

3. Choose highly compatible characters

In emoji art, before using decorative characters, consider "whether they can be replaced with widely supported symbols (⌒ ⊹ ✧ ☆)". If you really want to use elaborate decoration, check in advance whether it displays on your target audience's devices.

4. Alternatives for text display

When there is a high chance that characters will become tofu no matter what, there is also the strategy of detecting unsupported characters with JavaScript and replacing them with images or alternative text. It raises the implementation cost, but it is effective when, for example, you embed a social media comment section on the Web.

How it looks in practice

  • Old Android: The decorative characters 𓆩 𖣘 tend to become tofu
  • Old Windows: Emoji may become monochrome or tofu
  • Some Linux distros: The default font does not support emoji, so they turn into tofu
  • Old iOS: Cases where emoji added after the device's font become tofu

Common misconceptions

  • ❌ "Tofu is a bug" → ✅ It is a normal "not supported" signal
  • ❌ "Changing the font solves it" → ✅ That font also needs to have the glyph
  • ❌ "Adding a Web font makes it display on every device" → ✅ Depending on the browser, the download may fail

Related terms

  • Emoji - a prime example of characters that easily turn into tofu on old devices
  • Unicode - the conceptual basis of the "unsupported codepoint" that tofu indicates
  • Emoji art - a situation where you need to keep the risk of tofu in mind when using decorative characters

Was this article helpful?