[Interest] Multi language/font display in qt4

Bo Thorsen bthorsen at ics.com
Sun Jan 26 12:08:00 CET 2014


Den 25-01-2014 22:05, Simone skrev:
> Hello all,
> In my application I need to display text in more then one language
> simultaneously.
> No problem if the language are english and french for example, the
> problem is when needed to display english and chinese or korean or others.
>
> The font we use now (which is ok for latin text) is dejavu sans but it
> doesn't support all east font languages.
> If i change the font to a chinese one, i can display chinese characters
> but latins become ugly...
> Since i know that there isn't a full unicode font, It would be perfect
> to have more then one font and let "/somewhat"/ decide what to use for
> each kind of language.
> There is a solution to do that?
>
> I'm using qt 4.8.5 embedded & QWS (on an embedded ARM platform).

That's not possible, unfortunately. You are going to have to set the 
font manually on the target areas. But it should be enough to set it on 
the topmost widgets of the three that have the other language widgets.

Bo.

-- 
Bo Thorsen, European Engineering Manager, ICS
Integrated Computer Solutions. Delivering World-Class Applications
http://ics.com/services



More information about the Interest mailing list