[Libreoffice-commits] .: drawinglayer/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Nov 15 04:21:08 PST 2012


 drawinglayer/source/processor2d/vclprocessor2d.cxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit e8fe57fc3f007db04a47a5b24aaf37b1c32d0d98
Author: Muthu Subramanian <sumuthu at suse.com>
Date:   Thu Nov 15 17:44:09 2012 +0530

    n#782833: Rotated text in emf images looks thicker.
    
    Any rotated text in an emf image (image size != original size),
    has thicker fonts.
    This is kind of a regression caused by commit
    8c2902ecbf135fae070ea032fa10a59bb76ec1b0
    So, partially reverted it.
    The code was kind of a workaround/copy-paste, so I am assuming
    it is safe to revert.
    
    Side-effects: The dotted borders (in calc) look a
    little lighter and not so very visible in the page-preview.

diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx b/drawinglayer/source/processor2d/vclprocessor2d.cxx
index b583d82..919b246 100644
--- a/drawinglayer/source/processor2d/vclprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx
@@ -787,10 +787,6 @@ namespace drawinglayer
             }
             else
             {
-                // remember that we enter a PolygonStrokePrimitive2D decomposition,
-                // used for AA thick line drawing
-                mnPolygonStrokePrimitive2D++;
-
                 mpOutputDevice->DrawPolyPolygon(aLocalPolyPolygon);
 
                 if(mnPolygonStrokePrimitive2D
@@ -808,9 +804,6 @@ namespace drawinglayer
                         mpOutputDevice->DrawPolyLine(aLocalPolyPolygon.getB2DPolygon(a), 0.0);
                     }
                 }
-
-                // leave PolygonStrokePrimitive2D
-                mnPolygonStrokePrimitive2D--;
             }
         }
 


More information about the Libreoffice-commits mailing list