Kaydet (Commit) da9a26f5 authored tarafından Sergey Farbotka's avatar Sergey Farbotka Kaydeden (comit) Thorsten Behrens

Fix fdo#55142 - use proper output offsets.

Change-Id: I76e6158f1ac64b9dd555cf8aee3ce8bdd5d035c5
üst d6418f68
......@@ -437,7 +437,7 @@ void ATSLayout::DrawText( SalGraphics& rGraphics ) const
{
const SubPortion& rSubPortion = *it;
// calculate sub-portion offset for rotated text
Fixed nXOfsFixed = 0, nYOfsFixed = 0;
Fixed nXOfsFixed = rSubPortion.mnXOffset, nYOfsFixed = 0;
if( rAquaGraphics.mnATSUIRotation != 0 )
{
const double fRadians = rAquaGraphics.mnATSUIRotation * (M_PI/0xB40000);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment