summaryrefslogtreecommitdiff
path: root/vcl/source/glyphs
diff options
context:
space:
mode:
authorHerbert Duerr <hdu@openoffice.org>2002-12-06 10:50:40 +0000
committerHerbert Duerr <hdu@openoffice.org>2002-12-06 10:50:40 +0000
commit1e92f3e0a49f7768024118f1a8ac59bc8a5a7c6b (patch)
tree51eec2603441138ea27db62acc8dd0fa511223e0 /vcl/source/glyphs
parent7aa06116ef62ca625378bc3bed586fb9b81e76a0 (diff)
#105200 make embedded vs. antialias priorities more intuitive
Diffstat (limited to 'vcl/source/glyphs')
-rw-r--r--vcl/source/glyphs/gcach_ftyp.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/glyphs/gcach_ftyp.cxx b/vcl/source/glyphs/gcach_ftyp.cxx
index 78103b799c63..0c93adb0f11a 100644
--- a/vcl/source/glyphs/gcach_ftyp.cxx
+++ b/vcl/source/glyphs/gcach_ftyp.cxx
@@ -2,8 +2,8 @@
*
* $RCSfile: gcach_ftyp.cxx,v $
*
- * $Revision: 1.85 $
- * last change: $Author: hdu $ $Date: 2002-11-29 11:01:15 $
+ * $Revision: 1.86 $
+ * last change: $Author: hdu $ $Date: 2002-12-06 11:50:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -924,7 +924,7 @@ void FreetypeServerFont::InitGlyphData( int nGlyphIndex, GlyphData& rGD ) const
bool FreetypeServerFont::GetAntialiasAdvice( void ) const
{
- if( GetFontSelData().mbNonAntialiased )
+ if( GetFontSelData().mbNonAntialiased || (nPrioAntiAlias<=0) )
return false;
bool bAdviseAA = true;
// TODO: also use GASP info
@@ -1039,7 +1039,7 @@ bool FreetypeServerFont::GetGlyphBitmap8( int nGlyphIndex, RawBitmap& rRawBitmap
nLoadFlags |= FT_LOAD_NO_HINTING;
#endif
- if( (nCos!=0 && nSin!=0) || (nPrioEmbedded <= nPrioAutoHint) )
+ if( (nCos!=0 && nSin!=0) || (nPrioEmbedded <= nPrioAntiAlias) )
nLoadFlags |= FT_LOAD_NO_BITMAP;
FT_Error rc = -1;