Qt-interest Archive, June 2007
Qt 4.3 language support
Message 1 in thread
Hello All!
I have a general question about language support in Qt 4.3.
According to the docs(http://doc.trolltech.com/4.3/i18n.html):
"All input widgets and text drawing methods in Qt offer built-in support for
all supported languages. The built-in font engine is capable of correctly
and attractively rendering text that contains characters from a variety of
different writing systems at the same time."
My (mis?)understanding of this is that a widget can display any supported
language without any special needs (from the system or programmer).
I have read elsewhere on the www that the system must have a font installed
for a given writing system prior to Qt being able to render that language.
I am wondering which is the case. Thank you very much for your help!!
Best Wishes-
Craig
--
[ signature omitted ]
Message 2 in thread
On 21.06.07 17:14:25, Craig Greenberg wrote:
> I have a general question about language support in Qt 4.3.
>
> According to the docs(http://doc.trolltech.com/4.3/i18n.html):
> "All input widgets and text drawing methods in Qt offer built-in support for
> all supported languages. The built-in font engine is capable of correctly
> and attractively rendering text that contains characters from a variety of
> different writing systems at the same time."
>
> My (mis?)understanding of this is that a widget can display any supported
> language without any special needs (from the system or programmer).
>
> I have read elsewhere on the www that the system must have a font installed
> for a given writing system prior to Qt being able to render that language.
>
> I am wondering which is the case. Thank you very much for your help!!
The latter, of course you need to have a font installed that contains
the glyphs you want to be displayed. But Qt has the ability to display
characters from different writing-systems within the same text (if your
font has all the glyphs needed). So you can have a sentence with
cyrillic, chinese, japanese and latin characters in it.
Andreas
--
[ signature omitted ]
Message 3 in thread
Hello Andreas-
Thank you for your reply!!
I do have another question/problem in the same vein:
I have written an application that must be able to display English, Arabic,
and Chinese(simplified or traditional). I am able to see Arabic (the
current test language) on my system (Suse 9.3 + Qt 4.3.0), but the end user
can only see the non-Arabic characters (quotes, comma, etc.) on Redhat 3 +
Qt 4.3.0. I was able to look at his fonts using QFontDatabase and found
that he has four font families (MiscFixed, Monospace, Sans Serif, and
Serif) with the Arabic writing system(among others). I also have these
fonts/systems and when I explictly set the fontfamily, my display changes
(but still works), but his still does not work. I am wondering if anyone
has any ideas about what is going on. I really appreciate your help!
Thank you very much!!
Best Wishes-
Craig
Andreas Pakulat wrote:
> On 21.06.07 17:14:25, Craig Greenberg wrote:
>> I have a general question about language support in Qt 4.3.
>>
>> According to the docs(http://doc.trolltech.com/4.3/i18n.html):
>> "All input widgets and text drawing methods in Qt offer built-in support
>> for all supported languages. The built-in font engine is capable of
>> correctly and attractively rendering text that contains characters from a
>> variety of different writing systems at the same time."
>>
>> My (mis?)understanding of this is that a widget can display any supported
>> language without any special needs (from the system or programmer).
>>
>> I have read elsewhere on the www that the system must have a font
>> installed for a given writing system prior to Qt being able to render
>> that language.
>>
>> I am wondering which is the case. Thank you very much for your help!!
>
> The latter, of course you need to have a font installed that contains
> the glyphs you want to be displayed. But Qt has the ability to display
> characters from different writing-systems within the same text (if your
> font has all the glyphs needed). So you can have a sentence with
> cyrillic, chinese, japanese and latin characters in it.
>
> Andreas
>
--
[ signature omitted ]