summaryrefslogtreecommitdiff
path: root/vcl/source/glyphs
diff options
context:
space:
mode:
authorHerbert Duerr <hdu@openoffice.org>2002-07-30 11:09:13 +0000
committerHerbert Duerr <hdu@openoffice.org>2002-07-30 11:09:13 +0000
commitea98c6fb8cb31555a679bd8c931458433d261817 (patch)
tree8162affab139dd4a90a32c9ec3cfbf8c7cc51e62 /vcl/source/glyphs
parenta14a383a92e49e67e2d6c1cfdcd512c59d949d37 (diff)
#101707# disable autohinting for most CTL glyphs
Diffstat (limited to 'vcl/source/glyphs')
-rw-r--r--vcl/source/glyphs/gcach_ftyp.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/vcl/source/glyphs/gcach_ftyp.cxx b/vcl/source/glyphs/gcach_ftyp.cxx
index 5222d0122924..06fc36e0a8d2 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.72 $
- * last change: $Author: hdu $ $Date: 2002-05-08 12:40:17 $
+ * $Revision: 1.73 $
+ * last change: $Author: hdu $ $Date: 2002-07-30 12:09:13 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -803,9 +803,11 @@ int FreetypeServerFont::FixupGlyphIndex( int nGlyphIndex, sal_Unicode aChar ) co
nGlyphFlags |= SetVerticalFlags( aChar );
#if !defined(TT_CONFIG_OPTION_BYTECODE_INTERPRETER)
- // #95556# autohinting not ready for for east asian characters yet
+ // #95556# autohinting not yet optimized for non-western glyph styles
if( !(mnLoadFlags & FT_LOAD_NO_HINTING)
- && ( (aChar >= 0x2900 && aChar < 0xD800) || (aChar >= 0xF800) ) )
+ && ( (aChar >= 0x0600 && aChar < 0x1E00) // south-east asian + arabic
+ ||(aChar >= 0x2900 && aChar < 0xD800) // CJKV
+ ||(aChar >= 0xF800) ) ) // presentation + symbols
nGlyphFlags |= GF_UNHINTED;
#endif