[Interest] Multi language/font display in qt4

Bo Thorsen bthorsen at ics.com
Mon Jan 27 15:53:40 CET 2014


Hi Simone,

Sorry for the late answer.

I'm sure there are ways to do this in general. But there's no generic Qt 
way to do it. You have to look at solutions outside of Qt.

Bo.

Den 26-01-2014 12:57, Simone skrev:
> Hello Bo,
> Thank you for your reply.
>
> Are you sure of that?
> I read some article about fontconfig and seems that there is a solution, but i have not understood how it work.
>
> Maybe someone have experience with fontconfig and qt embedded?
>
> Thanks
> Simone
>
>
>
>
>
>> Il giorno 26/gen/2014, alle ore 12:08, Bo Thorsen <bthorsen at ics.com> ha scritto:
>>
>> 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


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



More information about the Interest mailing list