diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-09 20:52:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-09 20:52:07 +0000 |
commit | c0997a4383c958a6119ee3c36e4710fa5881ffc8 (patch) | |
tree | a594f012cfebc98930a74119ef18894c482b6cfc | |
parent | bc001176b4875acf4acd24390e37497abd7c3f43 (diff) |
mask out cjk punctuation
-rw-r--r-- | svtools/source/control/ctrlbox.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index 53a50ea23760..86fbfec7b283 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -1539,12 +1539,14 @@ namespace aGenericMask.set(vcl::UnicodeCoverage::SPECIALS, false); aGenericMask.set(vcl::UnicodeCoverage::NONPLANE_0, false); aGenericMask.set(vcl::UnicodeCoverage::PRIVATE_USE_PLANE_15, false); + aGenericMask.set(vcl::UnicodeCoverage::CJK_SYMBOLS_AND_PUNCTUATION, false); boost::dynamic_bitset<sal_uInt32> aMasked = rFontCapabilities.maUnicodeRange & aGenericMask; if (aMasked.count() == 1) return aMasked.find_first(); + if (aMasked[vcl::UnicodeCoverage::ARABIC]) { aMasked.set(vcl::UnicodeCoverage::ARABIC_PRESENTATION_FORMS_A, false); |