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

List:       kde-commits
Subject:    qt-copy/src/kernel
From:       Lars Knoll <knoll () kde ! org>
Date:       2003-07-01 17:27:13
[Download RAW message or body]

CVS commit by knoll: 

fix line spacing for multi line text drawn with drawText()


  M +2 -2      qpainter.cpp   1.59


--- qt-copy/src/kernel/qpainter.cpp  #1.58:1.59
@@ -2975,5 +2975,5 @@ void qt_format_text( const QFont& font, 
                 left = QMIN( left, lineLeft );
                 right = QMAX( right, lineRight );
-                height += ascent + descent + 1;
+                height += ascent + descent;
                 add = 0;
                 if ( linesep )


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

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