--- Begin Message ---
- To: "Stellarium developers public mailing list" <stellarium-pubdevel at lists dot sourceforge dot net>
- Subject: Re: [Stellarium-pubdevel] [Stellarium] BiDi support
- From: "Fabien Chéreau" <fabien dot chereau at googlemail dot com>
- Date: Thu, 28 Aug 2008 16:52:41 +0200
- Envelope-to: uak at aya dot sy
Hi Usama, Yes this problem is a known bug. The rendering of text in the sky is performed using home-made code (using SFont class), not using Qt features. I already attempted to replace this code with native qt display but I had problems so far: 1- You cannot specify a non integer position to draw text on the QGraphicsView using Qt, so the text looks like it jumps from pixel to pixel which is quite ugly. 2- It is quite slow I more or less have an idea (given by a Qt developer) how to redo that, but it's not trivial, so I doubt it will be done before the next release 0.10.0 which is approaching quickly. That said, it will be done at some point, so you don't waist your time translating into Arabic. There is also not too much point trying to hack the current SFont code, because Arabic is more complicated than just reversing the text, and also because the current system don't support very nicely Chinese and other characters. If you can code and is interested to work on that, I can give you detailed hints. Cheers, Fabien On Thu, Aug 28, 2008 at 1:01 PM, Usama Akkad <uak at aya dot sy> wrote: > Hello, > Dear devolopers > I've been quit busy lately trying to find some one to fix this problem. > > The problem is related to many bugs about the Bidirectional script support. > > The program fails to display bi-directional text correctly. For example, > the Arabic word West (غرب) should be spelled ghain (غ) raa (ر) baa (ب) > from right to left. The program displays the Arabic text in > the main view (the sky) in the opposite direction. > > > Here is the respond I got from a developer: > ----------- > I built the latest SVN, and it seems to support Arabic well except in > the main view (the sky), all other dialogs, tooltips, etc. shows Arabic > correctly. > > I guess those places where Arabic is shown correctly are rendered by QT > while others are rendered directly on opengl (or some thing like that). > > khaledhosny at eglug dot org > ---------- > > so I wonder where is the problem. > > cheers, > Usama Akkad > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Stellarium-pubdevel mailing list > Stellarium-pubdevel at lists dot sourceforge dot net > https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Stellarium-pubdevel mailing list Stellarium-pubdevel at lists dot sourceforge dot net https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel
--- End Message ---