diff options
author | Muthu Subramanian <sumuthu@suse.com> | 2012-11-15 17:44:09 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@suse.com> | 2012-11-15 17:49:16 +0530 |
commit | e8fe57fc3f007db04a47a5b24aaf37b1c32d0d98 (patch) | |
tree | 59a5638a83c45f2e80c3390811e817189dc6acd2 /drawinglayer/source | |
parent | 812b7362c18a70fe97b3ebb8e1a6e32ff189f48e (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/source')
-rw-r--r-- | drawinglayer/source/processor2d/vclprocessor2d.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx b/drawinglayer/source/processor2d/vclprocessor2d.cxx index b583d82193b8..919b246f3df8 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--; } } |