Kaydet (Commit) a8cd1fab authored tarafından Herbert Dürr's avatar Herbert Dürr

#i124121# prevent oblique/italic emulation with ITALIC_DONTKNOW fonts

üst 6e082083
...@@ -111,8 +111,7 @@ CTTextStyle::CTTextStyle( const ImplFontSelectData& rFSD ) ...@@ -111,8 +111,7 @@ CTTextStyle::CTTextStyle( const ImplFontSelectData& rFSD )
// handle emulation of italic/oblique styles if requested and the font doesn't provide them // handle emulation of italic/oblique styles if requested and the font doesn't provide them
if( ((pReqFont->meItalic == ITALIC_NORMAL) || (pReqFont->meItalic == ITALIC_OBLIQUE)) if( ((pReqFont->meItalic == ITALIC_NORMAL) || (pReqFont->meItalic == ITALIC_OBLIQUE))
&& (mpFontData->meItalic != ITALIC_NORMAL) && (mpFontData->meItalic == ITALIC_NONE))
&& (mpFontData->meItalic != ITALIC_OBLIQUE))
{ {
if( !pMatrix) if( !pMatrix)
pMatrix = &(aMatrix = CGAffineTransformIdentity); pMatrix = &(aMatrix = CGAffineTransformIdentity);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment