有没有找到“字形”字符? [英] Is there a "glyph not found" character?
问题描述
是否有可靠地产生这个字形的找不到字形字符?我想写一些像如果下面的文本包含<在这里插入字符>那么你需要另一个字体...
在一个用户界面。
顺便说一句,我不是在谈论 (更换性格)。当一个Unicode字符不能从数据流正确解码时显示这一个。它不一定会产生相同的字形:
不,没有找到字形未找到字符。不同的程序使用不同的图形演示。一个空的狭长矩形是一个常见的渲染,但不是唯一的。它也可以是一个带有问号的矩形,或者是以十六进制表示的字符的代码号。
显示字符本身的一个小图像,以便读者可以比较它们。
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 instead, e.g. a rectangular block thingy (see screenshot).
Is there a "glyph not found" character that reliably produces this glyph? I'd like to write something like "If the following text contains <insert character here> then you need another font..."
in a UI.
By the way, I am not talking about � (replacement character). This one is displayed when a Unicode character could not be correctly decoded from a data stream. It does not necessarily produce the same glyph:
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.
这篇关于有没有找到“字形”字符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!