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
This commit is contained in:
Vladimir Glazounov 2006-11-01 16:48:05 +00:00
parent 5102afc43b
commit 2f1842160c

View file

@ -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 );