更新时间:2023-11-15 17:05:58
我不知道答案,但有几件事情值得怀疑:
I don't know the answer, but there are several things to suspect:
@
.也许您在Rich Edit控件中使用的是错误的.@
prepended to it. Perhaps you are using the wrong one in the rich edit control.更新:通过弄乱写字板,我能够在丰富的编辑控件中重现文本拥挤的问题.
UPDATE: By messing around with Wordpad, I was able to reproduce the problem with the crowded text in the rich edit control.
现在,文本将变得人满为患,与您的示例非常相似.因此,看来根本的问题在于字体链接和回退. ExtTextOut
可能正在为脚本自动选择适当的字体.您面临的挑战是弄清楚如何为脚本识别正确的字体并在丰富的编辑控件中设置该字体.
The text will now be overcrowded, very similar to your example. Thus it appears the fundamental problem is with font linking and fallback. ExtTextOut
is probably selecting an appropriate font for the script automatically. Your challenge is to figure out how to identify the right font for the script and set that font in the rich edit control.