summaryrefslogtreecommitdiff
path: root/vcl/source/glyphs/gcach_ftyp.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-01-25 10:24:25 +0000
committerOliver Bolte <obo@openoffice.org>2007-01-25 10:24:25 +0000
commitbaa187ca0c9d8bfbe8f25092d351189fd9b51f10 (patch)
tree67f6a81a1f8608e4ff96b154dce29631a4cdf97c /vcl/source/glyphs/gcach_ftyp.cxx
parent15b30cd6d461e2ff5ed1bf84bbd8d1d21c36269d (diff)
INTEGRATION: CWS vcl71 (1.139.20); FILE MERGED
2007/01/12 08:40:19 hdu 1.139.20.1: #i72678# adjust heuristic for CJK font metrics to WIN port
Diffstat (limited to 'vcl/source/glyphs/gcach_ftyp.cxx')
-rw-r--r--vcl/source/glyphs/gcach_ftyp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/glyphs/gcach_ftyp.cxx b/vcl/source/glyphs/gcach_ftyp.cxx
index 21a1f5becd8a..2504baf2cfcb 100644
--- a/vcl/source/glyphs/gcach_ftyp.cxx
+++ b/vcl/source/glyphs/gcach_ftyp.cxx
@@ -982,7 +982,7 @@ void FreetypeServerFont::FetchFontMetric( ImplFontMetricData& rTo, long& rFactor
// Check for CJK capabilities of the current font
// #107888# workaround for Asian...
// TODO: remove when ExtLeading fully implemented
- BOOL bCJKCapable = ((( pOS2->ulUnicodeRange2 & 0x2fff0000 ) | ( pOS2->ulUnicodeRange3 & 0x00000001 )) != 0 );
+ BOOL bCJKCapable = ((pOS2->ulUnicodeRange2 & 0x2FF00000) != 0);
if ( bCJKCapable )
{