[Fedora-trans-ar] Re: Arabic issue #6: Harakat/Diacritics position is not correct.

Lars Knoll lars at trolltech.com
Tue Mar 8 08:57:03 UTC 2005


On Tuesday 08 March 2005 09:43, Munzir Taha wrote:
> On Yaum al-Khamees 22 Muharram 1426 16:49, Lars Knoll wrote:
> > On Thursday 24 February 2005 08:00, Munzir Taha wrote:
> > > > > > Qt Version: qt-x11-opensource-4.0.0-b1
> > > > > > System: Mandrake 10.1 on AMD64
> > > > >
> > > > > This bug is still valid with snapshot
> > > > > Qt Version: qt-x11-opensource-4.0.0-b2-snapshot-20050131
> > > >
> > > > This and issue #4 and #5 should be fixed with tonights snapshot.
> > >
> > > The position is still not correct. The situation now is that the
> > > HARAKAT would not appear at all! Actually it's there but the HARAKA is
> > > now too far from the letter that you can't see it if it's on the first
> > > line of a top-aligned text. I would appear +/-1 line above/below the
> > > letter!
> > >
> > > Doesn't Qt supports OpenType? Shouldn't the position of HARAKAT be
> > > extracted from the OpenType font tables?
> >
> > Well it does, and it should work fine for fonts that have open type
> > positioning tables. For fonts that don't have positioning tables we
> > actually do the work ourselves, and this positioning in Qt had a bug I
> > fixed today.
> >
> > So please try tonight's (or any later) snapshot, the issue should
> > hopefully be gone now :)
>
> I tried with Qt: 4.0.0-b2-snapshot-20050306 and still the bug is not fixed!
> I just did it like this:
>
>         QApplication::setFont(QFont("Tahoma", 72));
>         QTextEdit *text = new QTextEdit(trUtf8("عَرَبِي"));
>
> The HARAKAT are still too high above the letter or too low below it.

Please have a look at the attached screenshot. This is what I get with your 
example on the current Qt 4 build. I can't see any problem with it.

Best regards,
Lars
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.png
Type: image/png
Size: 9083 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-trans-ar/attachments/20050308/9311352f/attachment.png>


More information about the Fedora-trans-ar mailing list