[Fedora-trans-ar] Re: Arabic issue #27: QFontDialog::getFont doesn't display the sample text in the language of the font

Lars Knoll lars at trolltech.com
Tue Mar 8 08:29:51 UTC 2005


On Tuesday 08 March 2005 06:40, Munzir Taha wrote:
> System: Linux 2.6.10-1mdk i686 AMD Athlon(tm) 64 Processor 3200+ GNU/Linux
> Qt: 4.0.0-b2-snapshot-20050306
>
> CODE:
> QFontDialog::getFont
> as in
> examples/dialogs/standarddialogs/standarddialogs
>
> PROBLEM:
> The QFontDialog box doesn't display the sample text in the
> language/characters available. I expect to see Arabic letters when I select
> Fonts with only Arabic letters available. This should be detected
> automatically if possible. Otherwise, in case of fonts which supports many
> languages there should be a Language combo box as in OpenOffice.org.

Which is difficult. What's the default language of e.g. Tahoma, that support 
all of Latin, Greek, Cyrillic, Arabic, Hebrew and maybe 3 or 4 others?

This is the reason why we didn't go that way. If you select arabic in the font 
dialog, and you will get the arabic sample chars and only see the fonts 
supporting arabic in the family list. 

> Another note is that the "Writing System" QComboBox doesn't sort the items
> alphabetically in the Writing System combo box so it's
> rather difficult to find the script.

It probably should, you're right.

Lars




More information about the Fedora-trans-ar mailing list