开发者

Rendering unicode characters correctly on textbox

开发者 https://www.devze.com 2022-12-08 20:32 出处:网络
I am working on a translation application in which users are allowed to give English input and I need to convert to a target language and display on a text box. 开发者_如何学GoI am facing problems in

I am working on a translation application in which users are allowed to give English input and I need to convert to a target language and display on a text box. 开发者_如何学GoI am facing problems in displaying unicode characters.

Complex characters are not rendering correctly. I know windows uses Uniscribe for rendering complex characters. So do I need to use that explicitly to get the correct rendering? What is the equivalent of Uniscribe in LINUX and MAC?

I am using C++ with wxWidgets framework and trying to display unicode characters on a text box. Any help would be great!


Considering that Uniscribe support in wxWidgets was merely a Google Summer of code idea this year, it seems unlikely that it's working today.

There's no trivial Linux or Mac equivalent for Uniscribe


Read up on Pango. It's the library that supports full OpenType rendering on Linux. Mac's another story.

0

精彩评论

暂无评论...
验证码 换一张
取 消