Is there a “glyph not found” character?

前端 未结 8 1559
清歌不尽
清歌不尽 2020-12-09 08:48

Let\'s assume we have a text that contains a Unicode character that cannot be displayed because our font has no corresponding glyph. Usually, a placeholder is displayed inst

8条回答
  •  时光取名叫无心
    2020-12-09 08:56

    No, there is no “glyph not found” character. Different programs use different graphic presentations. An empty narrow rectangle is a common rendering, but not the only one. It could also be a rectangle with a question mark in it or with the code number of the character, in hexadecimal, in it.

    So it is better to e.g. display a small image of the character along with the character itself, so that the reader can compare them.

提交回复
热议问题