[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: QT bug
- To: developer at arabeyes dot org
- Subject: Re: QT bug
- From: Isam Bayazidi <bayazidi at arabeyes dot org>
- Date: Mon, 25 Nov 2002 15:05:08 +0200
- User-agent: KMail/1.5
I am not sure what does KDE use, QPainter or QWidget .. when I tried to go
through the code and see if drawText is called from this or that .. it seems
that the KDE developers use the pointers to make code sneakers like myself
runaway fast :-)
Anywhy it is indeed a direction probelm.. not a shaping one .. as you can
notice that if the glyphs are arranged from right to left, shaping would be
On Monday 25 November 2002 11:15, Youcef-Rabah Rahal wrote:
> I have an idea about the origin of this bug, it may be caused by AUTO
> direction in QPainter Object...
> I mean in QT you can choose the text direction in QPainter Objects with
> QPainter::drawText(). There are 3 possibilities:
> Check http://doc.trolltech.com/3.1/qpainter.html#drawText and
> I presume that KDE programs use AUTO direction which is the default and
> thus when using arabic digits with arabic text the direction is supposed to
> be LTR !!! I think that the text direction should be also choosable by the
> I even think that KDE programs use QWidget::drawText() which is simpler
> than QPainter.drawText() and it won't be then possible to change text
> direction unless a QPainter is used... Check
> http://doc.trolltech.com/3.1/qwidget.html#drawText . Trolltech's advice is
> to use QPainter to have more flexibility.
> Well all this is only wild imaginings and I didn't look in the code and I
> don't know if I will have the time to.
> I Maalam I plan to use RTL by default so now I'm not sad anymore ;) By the
> way, Maalam porting to QT seem to be easier than I thought ! I hope I will
> have something worth committing by next week or in 2 weeks maximum inch
> Allah !
> MSN Search, le moteur de recherche qui pense comme vous !
> Developer mailing list
> Developer at arabeyes dot org