1

If a font does not have a representation for a particular character, it usually uses some kind of square or a icon with a question mark. As far as I know, there is a more specific term that "replacement character", at least in German.

enter image description here

Does anybody know this term?

  • 1
    A "missing glyph" . . . anyway I think that's what I'd call it. – Billy Kerr Apr 18 '18 at 22:07
3

That would be .notdef, a name that comes from the official PostScript Type 1 specifications.

CharStrings [...] This dictionary must have an entry whose key is .notdef.
[...]
All unused positions in an encoding vector must be filled with the character name .notdef. Like any other character name, the name .notdef is defined in the CharStrings dictionary. If an encoding maps to a character name that does not exist in the font, the name .notdef is substituted. Every font must contain a glyph description for the .notdef character. The effect produced by showing the .notdef character is at the discretion of the font designer.
(PostScript Language Reference, 3rd. ed., Addison-Wesley)

The name has been copied for the same purpose into TrueType and OpenType fonts:

Glyph 0 must be assigned to a .notdef glyph. The .notdef glyph is very important for providing the user feedback that a glyph is not found in the font. This glyph should not be left without an outline as the user will only see what looks like a space if a glyph is missing and not be aware of the active font's limitation.

It is recommended that the shape of the .notdef glyph be either an empty rectangle, a rectangle with a question mark inside of it, or a rectangle with an “X”. Creative shapes, like swirls or other symbols, may not be recognized by users as indicating that a glyph is missing from the font and is not being displayed at that location.
Recommendations for OpenType Fonts, Glyph 0: the .notdef glyph

Most fonts use a nondescript unimaginative square – older Microsoft fonts are prone to this –, but some are actually quite nice, even though font designers are warned not to make it too attractive, else people may find reason to find a use it.

some .notdef characters

(The small inverse question mark is in a font of mine. The large one is from Zapfino, and the cute square one is Consolas.)

2

According to the Unicode standard it's known as a "Replacement Glyph" but technically it's a Glyph Failure.

In practice, the □ codepoint is used as a Failure Glyph. The U+FFFD � REPLACEMENT CHARACTER is used to replace an unknown, unrecognized or unrepresentable character.

It's also known as a Tofu.

slang for the empty boxes shown in place of undisplayable code points in computer character encoding

Bonus:

MS calls it "Square Symbol" or just "Square" when it fails.

Unicode also references it as an "Interpretable but Unrenderable Character".

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.