summaryrefslogtreecommitdiff
path: root/vcl/source/glyphs
diff options
context:
space:
mode:
authorHerbert Duerr <hdu@openoffice.org>2002-10-17 06:02:10 +0000
committerHerbert Duerr <hdu@openoffice.org>2002-10-17 06:02:10 +0000
commitb31c31e0b12be2a67fee0a82e36ec30129e526a4 (patch)
tree1fe121661183538339c273b320a5371707f0a4d1 /vcl/source/glyphs
parent6fe832c7188ab7b9984704e65e2ee9d2b4488baf (diff)
#103980# some antialiasing advice responsibility moved to upper layers
Diffstat (limited to 'vcl/source/glyphs')
-rw-r--r--vcl/source/glyphs/gcach_ftyp.cxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/vcl/source/glyphs/gcach_ftyp.cxx b/vcl/source/glyphs/gcach_ftyp.cxx
index 744f705b25a5..43dadaf04476 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.78 $
- * last change: $Author: hdu $ $Date: 2002-10-11 13:32:23 $
+ * $Revision: 1.79 $
+ * last change: $Author: hdu $ $Date: 2002-10-17 07:02:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -905,11 +905,8 @@ bool FreetypeServerFont::GetAntialiasAdvice( void ) const
{
if( GetFontSelData().mbNonAntialiased )
return false;
- // TODO: also use GASP & EBDT tables
- bool bAdviseAA = (mnLoadFlags & FT_LOAD_NO_HINTING) != 0;
- int nHeight = GetFontSelData().mnHeight;
- bAdviseAA |= (nHeight > 12);
- bAdviseAA |= (nHeight < 8);
+ bool bAdviseAA = true;
+ // TODO: also use GASP info
return bAdviseAA;
}