summaryrefslogtreecommitdiff
path: root/cppcanvas/source/mtfrenderer
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-01 16:48:05 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-01 16:48:05 +0000
commit2f1842160c329a4a3b69356f678a31917bdda74a (patch)
treed0abbd1575feaac6ac717578a9b37734c52c046c /cppcanvas/source/mtfrenderer
parent5102afc43b24c815d2c8fe2d9f1582a0b7a5b686 (diff)
INTEGRATION: CWS thbpp5 (1.9.4); FILE MERGED
2006/10/13 20:00:31 thb 1.9.4.1: #i68512# Fixed double-rotation of outline text glyphs
Diffstat (limited to 'cppcanvas/source/mtfrenderer')
-rw-r--r--cppcanvas/source/mtfrenderer/mtftools.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/cppcanvas/source/mtfrenderer/mtftools.cxx b/cppcanvas/source/mtfrenderer/mtftools.cxx
index a1c5335a739d..1ff0a6aaeda0 100644
--- a/cppcanvas/source/mtfrenderer/mtftools.cxx
+++ b/cppcanvas/source/mtfrenderer/mtftools.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: mtftools.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: obo $ $Date: 2006-10-12 14:59:56 $
+ * last change: $Author: vg $ $Date: 2006-11-01 17:48:05 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -301,6 +301,10 @@ namespace cppcanvas
{
const BOOL bOldMode( rVDev.IsMapModeEnabled() );
+ // #i68512# Force metric regeneration with mapmode enabled
+ // (prolly OutDev bug)
+ rVDev.GetFontMetric();
+
// will restore map mode below
const_cast< ::VirtualDevice& >(rVDev).EnableMapMode( FALSE );