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

List:       kde-commits
Subject:    qt-copy/src/kernel
From:       Scott Wheeler <wheeler () kde ! org>
Date:       2003-10-13 23:42:33
[Download RAW message or body]

CVS commit by wheeler: 

Don't crash if q_heuristicPosition() hasn't yet been called to initialize
these values.

CCMAIL:qt-bugs@trolltech.com


  M +1 -1      qfontengine_x11.cpp   1.5


--- qt-copy/src/kernel/qfontengine_x11.cpp  #1.4:1.5
@@ -2470,5 +2470,5 @@ void QOpenType::appendTo(QTextEngine *en
 
     // positioning code:
-    if ( hasGPos ) {
+    if ( hasGPos && positions ) {
         float scale = si->fontEngine->scale();
 //      qDebug("positioned glyphs:" );


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

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