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

List:       koffice-devel
Subject:    Re: koffice/kspread (positiv rotated text not working???)
From:       Raphael Langerhorst <raphael-langerhorst () gmx ! at>
Date:       2005-02-21 13:59:21
Message-ID: 200502211459.22016.raphael-langerhorst () gmx ! at
[Download RAW message or body]

Hi all,

yesterday I fixed this bug, all worked fine on my machine, I also 
backported the fix to 1.3 branch and updated my stable installation, 
worked fine as well.

Today I wanted to update the stable installation on another machine as 
well but when I tried to work with that there was still(?) something 
wrong with positiv rotated text, although the printout worked(?!). So 
on my machine everything works (CVS HEAD, 1.3 stable) but on the 
other machine, presumably with the exact same changes to 1.3 stable, 
has problems with positiv rotated text (it is displaced).

So please, can anyone check if positive rotated text (90 ° angle should 
do) works well? It should be ok to just check CVS head (I assume more 
of you have installed that), but tests with a patched 1.3 stable 
should work as well. I don't wont to introduce new bugs ;)

Please give me feedback!

Thanks very much!
Raphael

On Sunday 20 February 2005 18:37, Raphael Langerhorst wrote:
> CVS commit by raphael:
>
> Take the zoom factor into account for rotated text. Note that
> zooming also happens for printing! So displaced text in a high zoom
> factor is also displaced on the printout.
>
> This is now fixed for positive rotated text.
>
> BUG: 95553
>
>
>   M +1 -1      kspread_cell.cc   1.664
>
>
> --- koffice/kspread/kspread_cell.cc  #1.663:1.664
> @@ -2887,5 +2887,5 @@ void KSpreadCell::paintText( QPainter& p
>      else
>        x = indent + cellRect.x() + d->textX
> -        - ( 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 )
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel

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

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