From: Fabien C. <fab...@go...> - 2009-08-06 09:03:05
|
I just migrated most of the plugins to using QFont. I also took the liberty to make some little changes to some of them so that they better use the new painter API. I hope you don't mind. It would be nice to have the telescope control plugin in the SVN as well. Fabien On Thu, Aug 6, 2009 at 10:29, Fabien Chéreau<fab...@go...> wrote: > Hi, > I cannot reproduce Matthew's font bug. I will attempt a windows build > later today. > In the mean time I migrate the other plugins to QFont. > Fabien > > On Thu, Aug 6, 2009 at 00:51, Barry Gerdes<bar...@ho...> wrote: >> Hi Fabien >> >> I did a Windows build on 4857. It sure loads fast now and the font problem I >> had with the SiS display of the start splash screen has gone. >> >> I can confirm Mathew's findings on the star labels. It appears to be >> alternating between two labelling systems. This appears to cause oscillating >> double labels and flashing lines under some labels. All labels are not >> affected. >> >> I note that none of the plugins work any more. Is someone going to upgrade >> all the modules to use Qfont. It is beyond me. >> >> Other than this the changes seem to be good. >> >> >> Barry Gerdes >> Beaumont Hills Observatory >> S 33' 41' 44" E 150' 56' 32" >> 12" F10 GPS Polar mounted >> Home Page http://www.geocities.com/barrykgerdes >> >> >> >> >>> From: fab...@go... >>> Date: Wed, 5 Aug 2009 11:12:55 +0200 >>> To: ste...@li... >>> Subject: [Stellarium-pubdevel] Important milestone >>> >>> Dear all, >>> In the recent weeks I did some important work on the core of Stellarium: >>> >>> 1- Text drawing (in the sky): >>> The most important change that I just committed is the migration of >>> our home made text drawing system (StelFont and co) to Qt text >>> drawing. This completely fixed many bug of text display for right to >>> left languages, for arabic ligatures, for asian characters etc.. This >>> also allowed me to get rid of 6 source files and to simplify the messy >>> code which tried to find out which font was to use for each language. >>> Now Qt handles that by itself :) As a result the look of some text >>> slightly changed, please report any problems and try to tune the font >>> settings so that they look better. >>> This is a major API change which had to be done before release 1.0.0. >>> It will break pretty much all plugins. The proper way to migrate your >>> code is to replace "StelFont*" with "QFont". To display text, first >>> set the font to be used by StelPainter (setFont() method), then call >>> the StelPainter::drawText() method. >>> >>> 2- Removal of glBegin/end and other deprecated openGL 3.1 commands >>> I have been working on this continuously since some months, and a side >>> result of using vertex array instead of glBegin/end is that the >>> display is faster :) This is not yet finished though, but most of the >>> work remaining is isolated in StelPainter. >>> >>> Cheers, >>> Fabien > |