问题描述
我试图显示一个字符"v"使用MS Sans Serif字体的上划线。显示几乎是正确的,除了上线略微向右移动;也就是说,它没有像我期望的那样以字母v为中心。
I am attempting to display a character "v" with an overline, in the MS Sans Serif font. The display is almost correct, except the overline is shifted slightly to the right; i e, it isn't centered over the letter v as I would expect.
字符串使用TextOut显示,CStringW字符串包含"v \ x0305"。 0305是组合上线的Unicode字符。
The string is displayed using TextOut, with a CStringW string containing "v\x0305" 0305 is the Unicode character for a combining overline.
有没有办法让显示正确?我找不到包含0305字符的任何其他字体。
Is there a way to get the display correct? I couldn't find any other font containing the 0305 character.
Windows XP SP3,Visual Studio 2005
Windows XP SP3, Visual Studio 2005
推荐答案
这篇关于Unicode字符'组合上线'未正确对齐的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!