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

List:       kde-commits
Subject:    KOFFICE_1_3_BRANCH: koffice/kspread
From:       Raphael Langerhorst <raphael-langerhorst () gmx ! at>
Date:       2005-02-20 21:51:01
Message-ID: 20050220215101.5FF4C1BB66 () office ! kde ! org
[Download RAW message or body]

CVS commit by raphael: 

Backport fix for bug 95553: positive text is displaced for printing and zooming.

CCBUG: 95553


  M +1 -1      kspread_cell.cc   1.525.2.5


--- koffice/kspread/kspread_cell.cc  #1.525.2.4:1.525.2.5
@@ -2883,5 +2883,5 @@ void KSpreadCell::paintText( QPainter& p
     else
       x = indent + cellRect.x() + m_dTextX
-        - ( fm.descent() + fm.ascent() ) * sin( angle * M_PI / 180 );
+        - doc->unzoomItX(( fm.descent() + fm.ascent() ) * sin( angle * M_PI / 180 ));
     double y;
     if ( angle > 0 )


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

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