[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mozilla-qt
Subject:    Re: Backtrace of qt-mozilla
From:       "John C. Griggs" <johng () corel ! com>
Date:       2001-05-15 9:13:31
[Download RAW message or body]

Josh Soref wrote:
> 
> "John C. Griggs" wrote:
> > This crash is caused when the nsGfxScrollFrame fails to load any fonts
> > (i.e. it fails to create an nsFontMetrics object for any font).
> makes sense.
> 
> > The underlying cause is a bug in Qt 2.3.0 where the QFontDatabase does not
> > work correctly when you use anti-aliased fonts - the database lists font
> > names properly, but reports that there are no valid sizes or scalable
> > versions of any fonts present.
> We should be able to hack something there to at least offer some size.
> 
> > Turning off anti-aliased fonts fixes the problem.  Unfortunately,
> > because the problem is inside Qt, there is no way to work around it
> > without completely re-writing the font code in Qt-Mozilla.  I expect
> > this problem in Qt to be fixed in verson 3.0 and I will be looking into
> > this as soon as I get a chance...
> 
> > Sorry I can't give you better news, but I hope this helps anyway.
> I just committed a null check for this, so if someone wants to try to build w/ \
> Qt2.3 you should get an assert but no crash.  If that's the case, I'd appreciate it \
> if someone would verify bug 80634 as fixed. If you don't have privileges to verify \
> yourself, merely comment w/ cvs build date, Qt version, AntiAliasing state and \
> indicate that you got a window (or at least an assert there and crashed later). 
> One warning: it's defaulting to height '1'. I have no idea what 1 looks like (I \
> don't even understand what it means), and I won't have another chance for a Qt \
> build until wednesday.  If 1 turns out to be too small, please tinker a bit \
> (perhaps try 5, 7 or 10), if something works better, please comment in the bug. 
> timeless

If anyone gets a chance to try this (again, I don't have a test
environment that includes anti-aliased fonts), please keep me posted as
well...

Regards,
	John Griggs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic