diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-11-26 15:50:48 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-11-26 16:03:33 +0000 |
commit | 5eb649a89b83de4b08c217ae46ddbdb64576a7b7 (patch) | |
tree | 9979d33639a02115cd73fc461707f5b40cfd72c4 /sal/textenc | |
parent | 54f2fad47b002c498b66b899a3cbcdad4bd11197 (diff) |
fix unicode to dingbats conversion
enabling the text encoding tests show that the unicode to dingbats conversion
is wrong in two places.
a) 0x27CF should be 0x25CF
b) The unicode range starting at 0x2460 should map to 0xAB not 0xAC
Change-Id: I3899e1bbfc3f20ef67eb75c703ad7f23abe81509
Diffstat (limited to 'sal/textenc')
-rw-r--r-- | sal/textenc/convertadobe.tab | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sal/textenc/convertadobe.tab b/sal/textenc/convertadobe.tab index afbc14e881d8..bc5917fcb063 100644 --- a/sal/textenc/convertadobe.tab +++ b/sal/textenc/convertadobe.tab @@ -229,7 +229,7 @@ adobeSymbolEncodingConverterData = { rtl::textenc::BmpUnicodeToSingleByteRange const unicodeToAdobeDingbatsEncoding[] = { { 0x0020, 0x0020 - 0x0020, 0x20 }, { 0x00A0, 0x00A0 - 0x00A0, 0x20 }, { 0x2192, 0x2192 - 0x2192, 0xD5 }, { 0x2194, 0x2195 - 0x2194, 0xD6 }, - { 0x2460, 0x2469 - 0x2460, 0xAB }, + { 0x2460, 0x2469 - 0x2460, 0xAC }, { 0x25A0, 0x25A0 - 0x25A0, 0x6E }, { 0x25B2, 0x25B2 - 0x25B2, 0x73 }, { 0x25BC, 0x25BC - 0x25BC, 0x74 }, { 0x25C6, 0x25C6 - 0x25C6, 0x75 }, { 0x25CF, 0x25CF - 0x25CF, 0x6C }, @@ -242,8 +242,8 @@ rtl::textenc::BmpUnicodeToSingleByteRange const unicodeToAdobeDingbatsEncoding[] { 0x270C, 0x2727 - 0x270C, 0x2C }, { 0x2729, 0x274B - 0x2729, 0x49 }, { 0x274D, 0x274D - 0x274D, 0x6D }, { 0x274F, 0x2752 - 0x274F, 0x6F }, { 0x2756, 0x2756 - 0x2756, 0x76 }, { 0x2758, 0x275E - 0x2758, 0x78 }, - { 0x2761, 0x2767 - 0x2761, 0xA1 }, { 0x2776, 0x2794 - 0x2776, 0xB6 }, - { 0x2798, 0x27AF - 0x2798, 0xD8 }, { 0x27B1, 0x27BE - 0x27B1, 0xF1 }, + { 0x2761, 0x2767 - 0x2761, 0xA1 }, { 0x2776, 0x27AF - 0x2776, 0xB6 }, + { 0x27B1, 0x27BE - 0x27B1, 0xF1 }, { 0xF000, 0xF0FF - 0xF000, 0x00 }, // symbol aliasing U+F0XX->S+00XX { 0xF8D7, 0xF8E4 - 0xF8D7, 0x80 }}; @@ -262,12 +262,12 @@ adobeDingbatsEncodingConverterData = { 0x2730, 0x2731, 0x2732, 0x2733, 0x2734, 0x2735, 0x2736, 0x2737, // 0x50 0x2738, 0x2739, 0x273A, 0x273B, 0x273C, 0x273D, 0x273E, 0x273F, 0x2740, 0x2741, 0x2742, 0x2743, 0x2744, 0x2745, 0x2746, 0x2747, // 0x60 - 0x2748, 0x2749, 0x274A, 0x274B, 0x27CF, 0x274D, 0x25A0, 0x274F, + 0x2748, 0x2749, 0x274A, 0x274B, 0x25CF, 0x274D, 0x25A0, 0x274F, 0x2750, 0x2751, 0x2752, 0x25B2, 0x25BC, 0x25C6, 0x2756, 0x25D7, // 0x70 0x2758, 0x2759, 0x275A, 0x275B, 0x275C, 0x275D, 0x275E, 0xFFFF, 0xF8D7, 0xF8D8, 0xF8D9, 0xF8DA, 0xF8DB, 0xF8DC, 0xF8DD, 0xF8DE, // 0x80 0xF8DF, 0xF8E0, 0xF8E1, 0xF8E2, 0xF8E3, 0xF8E4, 0xFFFF, 0xFFFF, - 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x090 + 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x90 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x2761, 0x2762, 0x2763, 0x2764, 0x2765, 0x2766, 0x2767, // 0xA0 0x2663, 0x2666, 0x2665, 0x2660, 0x2460, 0x2461, 0x2462, 0x2463, |