summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2016-09-06 13:50:40 +1000
committerMike Kaganski <mike.kaganski@collabora.com>2016-09-12 15:33:39 +0000
commit56badc051ceee678e978add00d36c8e4d2d37ddb (patch)
treee1fae2eadcd632f931f20faa1c7863840b4a565a /unotools
parent3aaa820446f1ad3d3b0ddc557238b6fb3496dd54 (diff)
tdf#101889: add absent brackets to OpenSymbol
The code points for the glyphs were chosen according to IANA and Unicode: http://www.iana.org/assignments/character-sets/character-sets.xml ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/ADOBE/symbol.txt Adobe Symbol font map has been corrected accordingly. Fixed MT Extra font to always have symbol charset. Change-Id: I45d4f33f2b640cc852175c7c5d5c875cb72a9297 Reviewed-on: https://gerrit.libreoffice.org/28677 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/misc/fontcvt.cxx17
1 files changed, 10 insertions, 7 deletions
diff --git a/unotools/source/misc/fontcvt.cxx b/unotools/source/misc/fontcvt.cxx
index 7b7f255ce353..729db87491db 100644
--- a/unotools/source/misc/fontcvt.cxx
+++ b/unotools/source/misc/fontcvt.cxx
@@ -482,6 +482,9 @@ static const sal_Unicode aWebDingsTab[224] =
0xe3db, 0xe3dc, 0xe3dd, 0xe3de
};
+// See http://www.iana.org/assignments/character-sets/character-sets.xml
+// See ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/ADOBE/symbol.txt
+
static const sal_Unicode aAdobeSymbolTab[224] =
{
//TODO:
@@ -547,14 +550,14 @@ static const sal_Unicode aAdobeSymbolTab[224] =
0xe14b, 0x21d1, 0xe14c, 0x21d3,
// F0e0
0x25ca, 0xe14d, 0xe14e, 0xe14f,
- 0xe150, 0xe151, 0xe152, 0xe153,
- 0xe154, 0xe155, 0xe156, 0xe157,
- 0xe158, 0xe159, 0xe15a, 0xe15b,
+ 0xe150, 0xe151, 0xf8eb, 0xf8ec,
+ 0xf8ed, 0xf8ee, 0xf8ef, 0xf8f0,
+ 0xf8f1, 0xf8f2, 0xf8f3, 0xf8f4,
// F0f0
- 0, 0xe15c, 0xe15d, 0xe15e,
- 0xe15f, 0xe160, 0xe161, 0xe162,
- 0xe163, 0xe164, 0xe165, 0xe166,
- 0xe167, 0xe168, 0xe169, 0,
+ 0, 0x232a, 0x222b, 0x2320,
+ 0xf8f5, 0x2321, 0xf8f6, 0xf8f7,
+ 0xf8f8, 0xf8f9, 0xf8fa, 0xf8fb,
+ 0xf8fc, 0xf8fd, 0xf8fe, 0,
};
static const sal_Unicode aMonotypeSortsTab[224] =