[PATCH] The MT Extra font mapping is incomplete

Sean Young (via Code Review) gerrit at gerrit.libreoffice.org
Sat May 25 15:35:20 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/4036

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/36/4036/1

The MT Extra font mapping is incomplete

Many points are missing. Replace entire table with the mapping provided by
the original creator. Note that point 0xe7 ("Apple Logo") is not in unicode
so no mapping is provided for that.

http://www.dessci.com/en/support/mathtype/tech/encodings/mtextra.htm

Change-Id: I05acd36772ae6432614ff3b284e43b86049bed66
---
M unotools/source/misc/fontcvt.cxx
1 file changed, 43 insertions(+), 43 deletions(-)



diff --git a/unotools/source/misc/fontcvt.cxx b/unotools/source/misc/fontcvt.cxx
index ed34a5b..67cf552 100644
--- a/unotools/source/misc/fontcvt.cxx
+++ b/unotools/source/misc/fontcvt.cxx
@@ -648,39 +648,39 @@
 static const sal_Unicode aMTExtraTab[224] =
 {
     // F020
-        0x0020,         0,         0,    0xE095,
-        0xE091,    0xE096,    0x02D9,         0,
-        0xE093,         0,         0,         0,
+        0x0020,         0,         0,    0x0300,
+        0x0302,    0x0303,    0x0307,         0,
+        0x2323,    0x2322,         0,         0,
              0,         0,         0,         0,
     // F030
-             0,         0,         0,         0,
-             0,         0,         0,         0,
-             0,         0,         0,         0,
-        0x25C1,         0,    0x25B7,         0,
+             0,    0xEC00,    0xEC01,    0xEC02,
+        0xEC03,    0xEC0B,    0xEC04,    0xEC05,
+        0xEC06,         0,    0x223C,    0x2243,
+        0x22B2,    0x226A,    0x22B3,    0x226B,
     // F040
-             0,         0,    0x2210,    0x019b,
-             0,         0,         0,         0,
-             0,    0x2229,         0,    0xE08B,
+        0x225C,    0x2259,    0x2250,    0x2210,
+        0x019B,    0xEC0E,    0xEC0F,    0xEC10,
+        0xEC11,    0x2229,    0x2127,    0x2026,
         0x22EF,    0x22EE,    0x22F0,    0x22F1,
     // F050
-             0,         0,         0,         0,
-             0,         0,         0,         0,
-             0,         0,         0,         0,
-             0,         0,         0,         0,
+        0x2225,    0x2235,    0x2221,    0x2222,
+             0,    0x222A,    0x25B3,    0x25A1,
+        0x25AD,    0x25B1,    0x2197,    0x2199,
+        0xEB05,    0x2198,    0x2196,    0xEB06,
     // F060
-        0xE095,         0,    0xE25C,    0xE4BA,
-             0,         0,    0x210F,         0,
-             0,         0,         0,         0,
-        0x2113,    0x2213,         0,    0x00B0,
+        0x2035,    0x21A6,    0x2195,    0x21D5,
+        0x25CB,    0x2299,    0x227B,    0xE98F,
+        0x210F,    0xEE00,    0xEE01,         0,
+        0x2113,    0x2213,    0xFFFD,    0x2218,
     // F070
-             0,         0,    0xE098,         0,
-             0,    0xE097,         0,         0,
-             0,         0,         0,    0xE081,
-             0,    0xE082,         0,         0,
+        0x227A,    0xEB1A,    0x20D7,    0x20D6,
+        0x20E1,    0xEB00,    0x20D1,    0x20D0,
+        0xEB19,         0,         0,    0xFE38,
+        0xEC0C,    0xFE37,    0xEC0D,         0,
     // F080
-             0,         0,         0,         0,
-             0,         0,         0,         0,
-             0,         0,         0,         0,
+        0x21C4,    0xEB01,    0xEB02,    0x21CC,
+        0xEB03,    0xEB04,    0x21C0,    0x21BD,
+        0xF8E7,         0,         0,         0,
              0,         0,         0,         0,
     // F090
              0,         0,         0,         0,
@@ -688,35 +688,35 @@
              0,         0,         0,         0,
              0,         0,         0,         0,
     // F0a0
-             0,         0,         0,         0,
-             0,         0,         0,         0,
-             0,         0,         0,         0,
-             0,         0,         0,         0,
+             0,    0x211D,    0x2124,    0x2102,
+        0x211A,    0x2115,         0,    0x301A,
+        0x301B,    0xEC22,    0xEC23,    0xEC24,
+        0xEC25,    0xEC26,    0xEC27,         0,
     // F0b0
-             0,         0,         0,         0,
-             0,         0,         0,         0,
-             0,         0,         0,         0,
-             0,         0,         0,         0,
+        0xEE04,    0xEE05,    0xEE06,         0,
+             0,    0xEE07,    0xEE08,    0xEE09,
+             0,         0,    0xEE0A,    0xEE0B,
+        0xEE0C,         0,         0,         0,
     // F0c0
-             0,         0,         0,         0,
+        0xEE0D,    0xEE0E,    0xEE0F,    0xEE10,
              0,         0,         0,         0,
              0,         0,         0,         0,
              0,         0,         0,         0,
     // F0d0
-             0,         0,         0,         0,
-             0,         0,         0,         0,
+             0,    0xEE11,    0xEE12,    0xEE13,
+             0,    0xEE15,    0xEE16,         0,
              0,         0,         0,         0,
              0,         0,         0,         0,
     // F0e0
              0,         0,         0,         0,
-             0,         0,         0,         0,
-             0,         0,         0,         0,
-             0,         0,         0,         0,
+             0,         0,         0,    0xF8FF,
+        0x0160,    0x00DD,    0x00DE,    0x00D0,
+        0x0161,    0x00FD,    0x00FE,    0x00F0,
     // F0f0
-             0,         0,         0,         0,
-             0,         0,         0,         0,
-             0,         0,         0,         0,
-             0,         0,         0,         0
+        0xFB01,    0xFB02,    0x0131,    0x00B9,
+        0x00B2,    0x00B3,    0x00BD,    0x00BC,
+        0x00BE,    0x2044,    0x00A6,    0x02DD,
+        0x02D8,    0x02C7,    0x02DA,    0x02DB,
 };
 
 static const sal_Unicode aAdobeSymbolToAppleSymbolTab[224] =

-- 
To view, visit https://gerrit.libreoffice.org/4036
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I05acd36772ae6432614ff3b284e43b86049bed66
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Sean Young <sean at mess.org>



More information about the LibreOffice mailing list