[Interest] Multi language/font display in qt4

John Weeks john at wavemetrics.com
Mon Feb 3 18:00:20 CET 2014


On 02-Feb-2014, at 11:53 AM, Simone wrote:

> How I can handle complex combinations of characters like normal typing in korean or chinese?
> How input method work with QWS (non X11 system) and what is the best solution?

If you use the Qt-supplied editors (QLineEdit, QPlainTextEdit, etc.) you get input methods and right-to-left writing direction handling as part of the package.

If you really want to write your own editor (and unless you're porting old code, I don't know why you would) look at QInputMethodEvent. The documentation is a bit on the short side, but I was ultimately able to figure out enough that it appears to me that we have input methods working acceptably in our old editor windows.

-John Weeks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140203/9925472f/attachment.html>


More information about the Interest mailing list