openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject svn commit: r1562064 - /openoffice/trunk/main/vcl/aqua/source/gdi/ctfonts.cxx
Date Tue, 28 Jan 2014 13:31:31 GMT
Author: hdu
Date: Tue Jan 28 13:31:31 2014
New Revision: 1562064

URL: http://svn.apache.org/r1562064
Log:
#i124121# prevent oblique/italic emulation with ITALIC_DONTKNOW fonts

Modified:
    openoffice/trunk/main/vcl/aqua/source/gdi/ctfonts.cxx

Modified: openoffice/trunk/main/vcl/aqua/source/gdi/ctfonts.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/aqua/source/gdi/ctfonts.cxx?rev=1562064&r1=1562063&r2=1562064&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/aqua/source/gdi/ctfonts.cxx (original)
+++ openoffice/trunk/main/vcl/aqua/source/gdi/ctfonts.cxx Tue Jan 28 13:31:31 2014
@@ -111,8 +111,7 @@ CTTextStyle::CTTextStyle( const ImplFont
 
 	// handle emulation of italic/oblique styles if requested and the font doesn't provide them
 	if( ((pReqFont->meItalic == ITALIC_NORMAL) || (pReqFont->meItalic == ITALIC_OBLIQUE))
-	&& (mpFontData->meItalic != ITALIC_NORMAL)
-	&& (mpFontData->meItalic != ITALIC_OBLIQUE))
+	&& (mpFontData->meItalic == ITALIC_NONE))
 	{
 		if( !pMatrix)
 			pMatrix = &(aMatrix = CGAffineTransformIdentity);



Mime
View raw message