summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorMuthu Subramanian <sumuthu@suse.com>2012-11-15 17:44:09 +0530
committerAndras Timar <atimar@suse.com>2012-11-15 21:53:40 +0100
commit4ef4b2848181b482f011f56fc3610eef2a8a282c (patch)
tree7e3a3bbfd8ab9410ee3fa4863257c43f366b0b80 /drawinglayer
parentf47f9f5a4e5c96a8b96a327ef364329412b7adcd (diff)
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.
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/processor2d/vclprocessor2d.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx b/drawinglayer/source/processor2d/vclprocessor2d.cxx
index c554eb818cb2..e58bb5ed1bb0 100644
--- a/drawinglayer/source/processor2d/vclprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx
@@ -834,10 +834,6 @@ namespace drawinglayer
}
else
{
- // remember that we enter a PolygonStrokePrimitive2D decomposition,
- // used for AA thick line drawing
- mnPolygonStrokePrimitive2D++;
-
mpOutputDevice->DrawPolyPolygon(aLocalPolyPolygon);
if(mnPolygonStrokePrimitive2D
@@ -855,9 +851,6 @@ namespace drawinglayer
mpOutputDevice->DrawPolyLine(aLocalPolyPolygon.getB2DPolygon(a), 0.0);
}
}
-
- // leave PolygonStrokePrimitive2D
- mnPolygonStrokePrimitive2D--;
}
}