MonoDevelop不支持显示泰文字体
我现在正在学习使用 Monotouch 进行 iPhone 开发,并使用 Mono Develop for IDE。一切正常,我要购买 MonoTouch 的许可证。但是,IDE 无法正确显示泰语文本。 它只是显示[],这对我来说很难用泰语输入消息。尽管此文本在运行时显示正确(iPhone 模拟器)。 我认为这个问题出现在MonoDevelop中。
请你帮我解决这个问题。 附言。我尝试了一切我能做的。例如,将文件格式更改为 UTF 8 、 16 并从其他正确显示泰语文本的程序复制文本。
我期待收到您的来信 泰拉尼特
I'm now learning iPhone development with Monotouch and use Mono Develop for IDE. Everything works fine and I'm going to buy a license for MonoTouch. However, the IDE can not display Thai text correctly.
It just display [] that is difficult for me to type message in Thai. Although this text display correct in runtime (iPhone Simulator).
I think this problem occurs in MonoDevelop.
Please could you help me to solve this problem.
PS. I tried everything that I can do. For example, change file format to UTF 8 , 16 and copy text from other programs that display Thai text correctly.
I'm looking forward to hearing from you
Theeranit
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不幸的是,MonoDevelop 在 Mac 上用于字体渲染的库(称为 Pango)存在字体回退问题。这意味着,如果主要字体不包含您想要的字符,它就无法回退到该字符的另一种字体。
您可以通过在 MonoDevelop 首选项中设置自定义字体来解决此问题。将其设置为包含泰语字符的字体。
Unfortunately, the library that MonoDevelop uses for font rendering on Mac, called Pango, has problems with font fallbacks. That means that if the primary font doen't contain the character you want, it can't fall back to another font for that character.
You can work around this by setting a custom font in MonoDevelop preferences. Set it to a font that contains Thai characters.