目录

Text Development FAQs

How Do I Optimize the Display of Text with an Undefined Glyph?

Currently, the undefined glyphs are displayed as blanks by default, which may confuse users.

The system provides a switch, which can display undefined glyphs as tofu blocks once enabled.

The preceding two APIs control the same switch. You can use either of them.

Take the text "\uffffHello World\uffff" as an example, where \uffff represents a character with a missing glyph.

The following figures show the comparison.

Display Optimization Enabled or Not Effect
Disabled
Enabled