OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #include "../../../include/fpdfapi/fpdf_page.h" | 7 #include "../../../include/fpdfapi/fpdf_page.h" |
| 8 #include "../../../include/fpdfapi/fpdf_resource.h" |
8 #include "../../../include/fxge/fx_freetype.h" | 9 #include "../../../include/fxge/fx_freetype.h" |
9 extern FX_WCHAR PDF_UnicodeFromAdobeName(const FX_CHAR*); | 10 |
10 const struct _UnicodeAlt { | 11 // TODO(tsepez): These belong in headers, too. |
| 12 extern const FX_WORD PDFDocEncoding[256]; |
| 13 |
| 14 static const struct _UnicodeAlt { |
11 FX_WORD m_Unicode; | 15 FX_WORD m_Unicode; |
12 const FX_CHAR* m_Alter; | 16 const FX_CHAR* m_Alter; |
13 } | 17 } UnicodeAlts[] = { |
14 UnicodeAlts[] = { | |
15 {0x00a0, " "}, {0x00a1, "!"}, {0x00a2, "c"}, {0x00a3, "P"}, {0x00a4, "o"}, | 18 {0x00a0, " "}, {0x00a1, "!"}, {0x00a2, "c"}, {0x00a3, "P"}, {0x00a4, "o"}, |
16 {0x00a5, "Y"}, {0x00a6, "|"}, {0x00a7, "S"}, {0x00a9, "(C)"}, {0x00aa, "a"}, | 19 {0x00a5, "Y"}, {0x00a6, "|"}, {0x00a7, "S"}, {0x00a9, "(C)"}, {0x00aa, "a"}, |
17 {0x00ab, "<<"}, {0x00ac, "-|"}, {0x00ae, "(R)"}, {0x00af, "-"}, | 20 {0x00ab, "<<"}, {0x00ac, "-|"}, {0x00ae, "(R)"}, {0x00af, "-"}, |
18 {0x00b0, "o"}, {0x00b1, "+/-"}, {0x00b2, "^2"}, { 0x00b3, "^3"}, | 21 {0x00b0, "o"}, {0x00b1, "+/-"}, {0x00b2, "^2"}, { 0x00b3, "^3"}, |
19 {0x00b4, "'"}, {0x00b5, "u"}, {0x00b6, "P"}, {0x00b7, "."}, | 22 {0x00b4, "'"}, {0x00b5, "u"}, {0x00b6, "P"}, {0x00b7, "."}, |
20 {0x00b9, "^1"}, {0x00ba, "o"}, {0x00bb, ">>"}, {0x00bc, "1/4"}, | 23 {0x00b9, "^1"}, {0x00ba, "o"}, {0x00bb, ">>"}, {0x00bc, "1/4"}, |
21 {0x00bd, "1/2"}, {0x00be, "3/4"}, {0x00bf, "?"}, {0x00c0, "A"}, | 24 {0x00bd, "1/2"}, {0x00be, "3/4"}, {0x00bf, "?"}, {0x00c0, "A"}, |
22 {0x00c1, "A"}, {0x00c2, "A"}, {0x00c3, "A"}, {0x00c4, "A"}, | 25 {0x00c1, "A"}, {0x00c2, "A"}, {0x00c3, "A"}, {0x00c4, "A"}, |
23 {0x00c5, "A"}, {0x00c6, "AE"}, {0x00c7, "C"}, {0x00c8, "E"}, | 26 {0x00c5, "A"}, {0x00c6, "AE"}, {0x00c7, "C"}, {0x00c8, "E"}, |
24 {0x00c9, "E"}, {0x00ca, "E"}, {0x00cb, "E"}, {0x00cc, "I"}, | 27 {0x00c9, "E"}, {0x00ca, "E"}, {0x00cb, "E"}, {0x00cc, "I"}, |
(...skipping 25 matching lines...) Expand all Loading... |
50 {0x2033, "\""}, {0x2035, "'"}, {0x2036, "\""}, {0x2038, "^"}, | 53 {0x2033, "\""}, {0x2035, "'"}, {0x2036, "\""}, {0x2038, "^"}, |
51 {0x2039, "<"}, {0x203a, ">"}, {0x203b, "*"}, {0x203c, "!!"}, | 54 {0x2039, "<"}, {0x203a, ">"}, {0x203b, "*"}, {0x203c, "!!"}, |
52 {0x203d, "?!"}, {0x203e, "-"}, {0x2044, "/"}, {0x2047, "??"}, | 55 {0x203d, "?!"}, {0x203e, "-"}, {0x2044, "/"}, {0x2047, "??"}, |
53 {0x2048, "?!"}, {0x2049, "!?"}, {0x204e, "*"}, {0x2052, "%"}, | 56 {0x2048, "?!"}, {0x2049, "!?"}, {0x204e, "*"}, {0x2052, "%"}, |
54 {0x2122, "(TM)"}, | 57 {0x2122, "(TM)"}, |
55 {0x2212, "-"}, {0x2215, "/"}, {0x2216, "\\"}, {0x2217, "*"}, | 58 {0x2212, "-"}, {0x2215, "/"}, {0x2216, "\\"}, {0x2217, "*"}, |
56 {0x2218, "*"}, {0x2219, "*"}, {0x2223, "|"}, {0x22c5, "."}, | 59 {0x2218, "*"}, {0x2219, "*"}, {0x2223, "|"}, {0x22c5, "."}, |
57 {0x266f, "#"}, | 60 {0x266f, "#"}, |
58 {0XF6D9, "(C)"}, {0XF6DA, "(C)"}, {0XF6DB, "(TM)"}, | 61 {0XF6D9, "(C)"}, {0XF6DA, "(C)"}, {0XF6DB, "(TM)"}, |
59 {0XF8E8, "(C)"}, {0xf8e9, "(C)"}, {0XF8EA, "(TM)"}, | 62 {0XF8E8, "(C)"}, {0xf8e9, "(C)"}, {0XF8EA, "(TM)"}, |
60 | |
61 {0xfb01, "fi"}, {0xfb02, "fl"} | 63 {0xfb01, "fi"}, {0xfb02, "fl"} |
62 }; | 64 }; |
63 const FX_CHAR* FCS_GetAltStr(FX_WCHAR unicode) | 65 const FX_CHAR* FCS_GetAltStr(FX_WCHAR unicode) |
64 { | 66 { |
65 int begin = 0; | 67 int begin = 0; |
66 int end = sizeof UnicodeAlts / sizeof(struct _UnicodeAlt) - 1; | 68 int end = sizeof UnicodeAlts / sizeof(struct _UnicodeAlt) - 1; |
67 while (begin <= end) { | 69 while (begin <= end) { |
68 int middle = (begin + end) / 2; | 70 int middle = (begin + end) / 2; |
69 FX_WORD middlecode = UnicodeAlts[middle].m_Unicode; | 71 FX_WORD middlecode = UnicodeAlts[middle].m_Unicode; |
70 if (middlecode > unicode) { | 72 if (middlecode > unicode) { |
71 end = middle - 1; | 73 end = middle - 1; |
72 } else if (middlecode < unicode) { | 74 } else if (middlecode < unicode) { |
73 begin = middle + 1; | 75 begin = middle + 1; |
74 } else { | 76 } else { |
75 return UnicodeAlts[middle].m_Alter; | 77 return UnicodeAlts[middle].m_Alter; |
76 } | 78 } |
77 } | 79 } |
78 return NULL; | 80 return NULL; |
79 } | 81 } |
80 const FX_WORD StandardEncoding[256] = { | 82 static const FX_WORD StandardEncoding[256] = { |
81 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, | 83 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, |
82 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, | 84 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, |
83 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, | 85 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, |
84 0x0000, 0x0000, 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x20
19, | 86 0x0000, 0x0000, 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x20
19, |
85 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x00
31, | 87 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x00
31, |
86 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, 0x00
3b, | 88 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, 0x00
3b, |
87 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x00
45, | 89 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x00
45, |
88 0x0046, 0x0047, 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x00
4f, | 90 0x0046, 0x0047, 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x00
4f, |
89 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x00
59, | 91 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x00
59, |
90 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, 0x2018, 0x0061, 0x0062, 0x00
63, | 92 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, 0x2018, 0x0061, 0x0062, 0x00
63, |
91 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x00
6d, | 93 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x00
6d, |
92 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x00
77, | 94 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x00
77, |
93 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x0000, 0x0000, 0x00
00, | 95 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x0000, 0x0000, 0x00
00, |
94 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, | 96 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, |
95 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, | 97 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, |
96 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, | 98 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, |
97 0x0000, 0x00a1, 0x00a2, 0x00a3, 0x2044, 0x00a5, 0x0192, 0x00a7, 0x00a4, 0x00
27, | 99 0x0000, 0x00a1, 0x00a2, 0x00a3, 0x2044, 0x00a5, 0x0192, 0x00a7, 0x00a4, 0x00
27, |
98 0x201c, 0x00ab, 0x2039, 0x203a, 0xfb01, 0xfb02, 0x0000, 0x2013, 0x2020, 0x20
21, | 100 0x201c, 0x00ab, 0x2039, 0x203a, 0xfb01, 0xfb02, 0x0000, 0x2013, 0x2020, 0x20
21, |
99 0x00b7, 0x0000, 0x00b6, 0x2022, 0x201a, 0x201e, 0x201d, 0x00bb, 0x2026, 0x20
30, | 101 0x00b7, 0x0000, 0x00b6, 0x2022, 0x201a, 0x201e, 0x201d, 0x00bb, 0x2026, 0x20
30, |
100 0x0000, 0x00bf, 0x0000, 0x0060, 0x00b4, 0x02c6, 0x02dc, 0x00af, 0x02d8, 0x02
d9, | 102 0x0000, 0x00bf, 0x0000, 0x0060, 0x00b4, 0x02c6, 0x02dc, 0x00af, 0x02d8, 0x02
d9, |
101 0x00a8, 0x0000, 0x02da, 0x00b8, 0x0000, 0x02dd, 0x02db, 0x02c7, 0x2014, 0x00
00, | 103 0x00a8, 0x0000, 0x02da, 0x00b8, 0x0000, 0x02dd, 0x02db, 0x02c7, 0x2014, 0x00
00, |
102 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, | 104 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, |
103 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00c6, 0x0000, 0x00aa, 0x0000, 0x00
00, | 105 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00c6, 0x0000, 0x00aa, 0x0000, 0x00
00, |
104 0x0000, 0x0000, 0x0141, 0x00d8, 0x0152, 0x00ba, 0x0000, 0x0000, 0x0000, 0x00
00, | 106 0x0000, 0x0000, 0x0141, 0x00d8, 0x0152, 0x00ba, 0x0000, 0x0000, 0x0000, 0x00
00, |
105 0x0000, 0x00e6, 0x0000, 0x0000, 0x0000, 0x0131, 0x0000, 0x0000, 0x0142, 0x00
f8, | 107 0x0000, 0x00e6, 0x0000, 0x0000, 0x0000, 0x0131, 0x0000, 0x0000, 0x0142, 0x00
f8, |
106 0x0153, 0x00df, 0x0000, 0x0000, 0x0000, 0x0000 | 108 0x0153, 0x00df, 0x0000, 0x0000, 0x0000, 0x0000 |
107 }; | 109 }; |
108 const FX_WORD MacRomanEncoding[256] = { | 110 static const FX_WORD MacRomanEncoding[256] = { |
109 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, | 111 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, |
110 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, | 112 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, |
111 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, | 113 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, |
112 0x0000, 0x0000, 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x00
27, | 114 0x0000, 0x0000, 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x00
27, |
113 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x00
31, | 115 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x00
31, |
114 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, 0x00
3b, | 116 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, 0x00
3b, |
115 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x00
45, | 117 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x00
45, |
116 0x0046, 0x0047, 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x00
4f, | 118 0x0046, 0x0047, 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x00
4f, |
117 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x00
59, | 119 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x00
59, |
118 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, 0x0060, 0x0061, 0x0062, 0x00
63, | 120 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, 0x0060, 0x0061, 0x0062, 0x00
63, |
119 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x00
6d, | 121 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x00
6d, |
120 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x00
77, | 122 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x00
77, |
121 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x0000, 0x00c4, 0x00
c5, | 123 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x0000, 0x00c4, 0x00
c5, |
122 0x00c7, 0x00c9, 0x00d1, 0x00d6, 0x00dc, 0x00e1, 0x00e0, 0x00e2, 0x00e4, 0x00
e3, | 124 0x00c7, 0x00c9, 0x00d1, 0x00d6, 0x00dc, 0x00e1, 0x00e0, 0x00e2, 0x00e4, 0x00
e3, |
123 0x00e5, 0x00e7, 0x00e9, 0x00e8, 0x00ea, 0x00eb, 0x00ed, 0x00ec, 0x00ee, 0x00
ef, | 125 0x00e5, 0x00e7, 0x00e9, 0x00e8, 0x00ea, 0x00eb, 0x00ed, 0x00ec, 0x00ee, 0x00
ef, |
124 0x00f1, 0x00f3, 0x00f2, 0x00f4, 0x00f6, 0x00f5, 0x00fa, 0x00f9, 0x00fb, 0x00
fc, | 126 0x00f1, 0x00f3, 0x00f2, 0x00f4, 0x00f6, 0x00f5, 0x00fa, 0x00f9, 0x00fb, 0x00
fc, |
125 0x2020, 0x00b0, 0x00a2, 0x00a3, 0x00a7, 0x2022, 0x00b6, 0x00df, 0x00ae, 0x00
a9, | 127 0x2020, 0x00b0, 0x00a2, 0x00a3, 0x00a7, 0x2022, 0x00b6, 0x00df, 0x00ae, 0x00
a9, |
126 0x2122, 0x00b4, 0x00a8, 0x0000, 0x00c6, 0x00d8, 0x0000, 0x00b1, 0x0000, 0x00
00, | 128 0x2122, 0x00b4, 0x00a8, 0x0000, 0x00c6, 0x00d8, 0x0000, 0x00b1, 0x0000, 0x00
00, |
127 0x00a5, 0x00b5, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00aa, 0x00ba, 0x00
00, | 129 0x00a5, 0x00b5, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00aa, 0x00ba, 0x00
00, |
128 0x00e6, 0x00f8, 0x00bf, 0x00a3, 0x00ac, 0x0000, 0x0192, 0x0000, 0x0000, 0x00
ab, | 130 0x00e6, 0x00f8, 0x00bf, 0x00a3, 0x00ac, 0x0000, 0x0192, 0x0000, 0x0000, 0x00
ab, |
129 0x00bb, 0x2026, 0x0020, 0x00c0, 0x00c3, 0x00d5, 0x0152, 0x0153, 0x2013, 0x20
14, | 131 0x00bb, 0x2026, 0x0020, 0x00c0, 0x00c3, 0x00d5, 0x0152, 0x0153, 0x2013, 0x20
14, |
130 0x201c, 0x201d, 0x2018, 0x2019, 0x00f7, 0x0000, 0x00ff, 0x0178, 0x2044, 0x00
a4, | 132 0x201c, 0x201d, 0x2018, 0x2019, 0x00f7, 0x0000, 0x00ff, 0x0178, 0x2044, 0x00
a4, |
131 0x2039, 0x203a, 0xfb01, 0xfb02, 0x2021, 0x00b7, 0x201a, 0x201e, 0x2030, 0x00
c2, | 133 0x2039, 0x203a, 0xfb01, 0xfb02, 0x2021, 0x00b7, 0x201a, 0x201e, 0x2030, 0x00
c2, |
132 0x00ca, 0x00c1, 0x00cb, 0x00c8, 0x00cd, 0x00ce, 0x00cf, 0x00cc, 0x00d3, 0x00
d4, | 134 0x00ca, 0x00c1, 0x00cb, 0x00c8, 0x00cd, 0x00ce, 0x00cf, 0x00cc, 0x00d3, 0x00
d4, |
133 0x0000, 0x00d2, 0x00da, 0x00db, 0x00d9, 0x0131, 0x02c6, 0x02dc, 0x00af, 0x02
d8, | 135 0x0000, 0x00d2, 0x00da, 0x00db, 0x00d9, 0x0131, 0x02c6, 0x02dc, 0x00af, 0x02
d8, |
134 0x02d9, 0x02da, 0x00b8, 0x02dd, 0x02db, 0x02c7 | 136 0x02d9, 0x02da, 0x00b8, 0x02dd, 0x02db, 0x02c7 |
135 }; | 137 }; |
136 const FX_WORD AdobeWinAnsiEncoding[256] = { | 138 static const FX_WORD AdobeWinAnsiEncoding[256] = { |
137 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, | 139 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
138 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, | 140 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
139 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, | 141 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
140 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, | 142 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
141 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, | 143 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, |
142 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, | 144 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, |
143 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, | 145 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, |
144 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, | 146 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, |
145 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, | 147 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, |
146 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, | 148 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, |
(...skipping 13 matching lines...) Expand all Loading... |
160 0x00b8, 0x00b9, 0x00ba, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00bf, | 162 0x00b8, 0x00b9, 0x00ba, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00bf, |
161 0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c6, 0x00c7, | 163 0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c6, 0x00c7, |
162 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf, | 164 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf, |
163 0x00d0, 0x00d1, 0x00d2, 0x00d3, 0x00d4, 0x00d5, 0x00d6, 0x00d7, | 165 0x00d0, 0x00d1, 0x00d2, 0x00d3, 0x00d4, 0x00d5, 0x00d6, 0x00d7, |
164 0x00d8, 0x00d9, 0x00da, 0x00db, 0x00dc, 0x00dd, 0x00de, 0x00df, | 166 0x00d8, 0x00d9, 0x00da, 0x00db, 0x00dc, 0x00dd, 0x00de, 0x00df, |
165 0x00e0, 0x00e1, 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x00e7, | 167 0x00e0, 0x00e1, 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x00e7, |
166 0x00e8, 0x00e9, 0x00ea, 0x00eb, 0x00ec, 0x00ed, 0x00ee, 0x00ef, | 168 0x00e8, 0x00e9, 0x00ea, 0x00eb, 0x00ec, 0x00ed, 0x00ee, 0x00ef, |
167 0x00f0, 0x00f1, 0x00f2, 0x00f3, 0x00f4, 0x00f5, 0x00f6, 0x00f7, | 169 0x00f0, 0x00f1, 0x00f2, 0x00f3, 0x00f4, 0x00f5, 0x00f6, 0x00f7, |
168 0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x00fd, 0x00fe, 0x00ff | 170 0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x00fd, 0x00fe, 0x00ff |
169 }; | 171 }; |
170 extern const FX_WORD PDFDocEncoding[256]; | 172 static const FX_WORD MacExpertEncoding[256] = { |
171 const FX_WORD MacExpertEncoding[256] = { | |
172 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, | 173 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, |
173 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, | 174 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, |
174 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, | 175 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, |
175 0x0000, 0x0000, 0x0020, 0xf721, 0xf6f8, 0xf7a2, 0xf724, 0xf6e4, 0xf726, 0xf7
b4, | 176 0x0000, 0x0000, 0x0020, 0xf721, 0xf6f8, 0xf7a2, 0xf724, 0xf6e4, 0xf726, 0xf7
b4, |
176 0x207d, 0x207e, 0x2025, 0x2024, 0x002c, 0x002d, 0x002e, 0x2044, 0xf730, 0xf7
31, | 177 0x207d, 0x207e, 0x2025, 0x2024, 0x002c, 0x002d, 0x002e, 0x2044, 0xf730, 0xf7
31, |
177 0xf732, 0xf733, 0xf734, 0xf735, 0xf736, 0xf737, 0xf738, 0xf739, 0x003a, 0x00
3b, | 178 0xf732, 0xf733, 0xf734, 0xf735, 0xf736, 0xf737, 0xf738, 0xf739, 0x003a, 0x00
3b, |
178 0x0000, 0xf6de, 0x0000, 0xf73f, 0x0000, 0x0000, 0x0000, 0x0000, 0xf7f0, 0x00
00, | 179 0x0000, 0xf6de, 0x0000, 0xf73f, 0x0000, 0x0000, 0x0000, 0x0000, 0xf7f0, 0x00
00, |
179 0x0000, 0x00bc, 0x00bd, 0x00be, 0x215b, 0x215c, 0x215d, 0x215e, 0x2153, 0x21
54, | 180 0x0000, 0x00bc, 0x00bd, 0x00be, 0x215b, 0x215c, 0x215d, 0x215e, 0x2153, 0x21
54, |
180 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xfb00, 0xfb01, 0xfb02, 0xfb
03, | 181 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xfb00, 0xfb01, 0xfb02, 0xfb
03, |
181 0xfb04, 0x208d, 0x0000, 0x208e, 0xf6f6, 0xf6e5, 0xf760, 0xf761, 0xf762, 0xf7
63, | 182 0xfb04, 0x208d, 0x0000, 0x208e, 0xf6f6, 0xf6e5, 0xf760, 0xf761, 0xf762, 0xf7
63, |
182 0xf764, 0xf765, 0xf766, 0xf767, 0xf768, 0xf769, 0xf76a, 0xf76b, 0xf76c, 0xf7
6d, | 183 0xf764, 0xf765, 0xf766, 0xf767, 0xf768, 0xf769, 0xf76a, 0xf76b, 0xf76c, 0xf7
6d, |
183 0xf76e, 0xf76f, 0xf770, 0xf771, 0xf772, 0xf773, 0xf774, 0xf775, 0xf776, 0xf7
77, | 184 0xf76e, 0xf76f, 0xf770, 0xf771, 0xf772, 0xf773, 0xf774, 0xf775, 0xf776, 0xf7
77, |
184 0xf778, 0xf779, 0xf77a, 0x20a1, 0xf6dc, 0xf6dd, 0xf6fe, 0x0000, 0x0000, 0xf6
e9, | 185 0xf778, 0xf779, 0xf77a, 0x20a1, 0xf6dc, 0xf6dd, 0xf6fe, 0x0000, 0x0000, 0xf6
e9, |
185 0xf6e0, 0x0000, 0x0000, 0x0000, 0x0000, 0xf7e1, 0xf7e0, 0xf7e2, 0xf7e4, 0xf7
e3, | 186 0xf6e0, 0x0000, 0x0000, 0x0000, 0x0000, 0xf7e1, 0xf7e0, 0xf7e2, 0xf7e4, 0xf7
e3, |
186 0xf7e5, 0xf7e7, 0xf7e9, 0xf7e8, 0xf7ea, 0xf7eb, 0xf7ed, 0xf7ec, 0xf7ee, 0xf7
ef, | 187 0xf7e5, 0xf7e7, 0xf7e9, 0xf7e8, 0xf7ea, 0xf7eb, 0xf7ed, 0xf7ec, 0xf7ee, 0xf7
ef, |
187 0xf7f1, 0xf7f3, 0xf7f2, 0xf7f4, 0xf7f6, 0xf7f5, 0xf7fa, 0xf7f9, 0xf7fb, 0xf7
fc, | 188 0xf7f1, 0xf7f3, 0xf7f2, 0xf7f4, 0xf7f6, 0xf7f5, 0xf7fa, 0xf7f9, 0xf7fb, 0xf7
fc, |
188 0x0000, 0x2078, 0x2084, 0x2083, 0x2086, 0x2088, 0x2087, 0xf6fd, 0x0000, 0xf6
df, | 189 0x0000, 0x2078, 0x2084, 0x2083, 0x2086, 0x2088, 0x2087, 0xf6fd, 0x0000, 0xf6
df, |
189 0x2082, 0x0000, 0xf7a8, 0x0000, 0xf6f5, 0xf6fd, 0x2085, 0x0000, 0xf6e1, 0xf6
e7, | 190 0x2082, 0x0000, 0xf7a8, 0x0000, 0xf6f5, 0xf6fd, 0x2085, 0x0000, 0xf6e1, 0xf6
e7, |
190 0xf7fd, 0x0000, 0xf6e3, 0x0000, 0x0000, 0xf7fe, 0x0000, 0x2089, 0x2080, 0xf6
ff, | 191 0xf7fd, 0x0000, 0xf6e3, 0x0000, 0x0000, 0xf7fe, 0x0000, 0x2089, 0x2080, 0xf6
ff, |
191 0xf7e6, 0xf7f8, 0xf7bf, 0x2081, 0xf6e9, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, | 192 0xf7e6, 0xf7f8, 0xf7bf, 0x2081, 0xf6e9, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, |
192 0x0000, 0xf7b8, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xf6fa, 0x2012, 0xf6
e6, | 193 0x0000, 0xf7b8, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xf6fa, 0x2012, 0xf6
e6, |
193 0x0000, 0x0000, 0x0000, 0x0000, 0xf7a1, 0x0000, 0xf7ff, 0x0000, 0x00b9, 0x00
b2, | 194 0x0000, 0x0000, 0x0000, 0x0000, 0xf7a1, 0x0000, 0xf7ff, 0x0000, 0x00b9, 0x00
b2, |
194 0x00b3, 0x2074, 0x2075, 0x2076, 0x2077, 0x2079, 0x2070, 0x0000, 0xf6ec, 0xf6
f1, | 195 0x00b3, 0x2074, 0x2075, 0x2076, 0x2077, 0x2079, 0x2070, 0x0000, 0xf6ec, 0xf6
f1, |
195 0x0000, 0x0000, 0x0000, 0xf6ed, 0xf6f2, 0xf6eb, 0x0000, 0x0000, 0x0000, 0x00
00, | 196 0x0000, 0x0000, 0x0000, 0xf6ed, 0xf6f2, 0xf6eb, 0x0000, 0x0000, 0x0000, 0x00
00, |
196 0x0000, 0xf6ee, 0xf6fb, 0xf6f4, 0xf7af, 0xf6ea, 0x207f, 0xf6ef, 0xf6e2, 0xf6
e8, | 197 0x0000, 0xf6ee, 0xf6fb, 0xf6f4, 0xf7af, 0xf6ea, 0x207f, 0xf6ef, 0xf6e2, 0xf6
e8, |
197 0xf6f7, 0xf6fc, 0x0000, 0x0000, 0x0000, 0x0000 | 198 0xf6f7, 0xf6fc, 0x0000, 0x0000, 0x0000, 0x0000 |
198 }; | 199 }; |
199 const FX_WORD AdobeSymbolEncoding[256] = { | 200 static const FX_WORD AdobeSymbolEncoding[256] = { |
200 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, | 201 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
201 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, | 202 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
202 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, | 203 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
203 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, | 204 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
204 0x0020, 0x0021, 0x2200, 0x0023, 0x2203, 0x0025, 0x0026, 0x220B, | 205 0x0020, 0x0021, 0x2200, 0x0023, 0x2203, 0x0025, 0x0026, 0x220B, |
205 0x0028, 0x0029, 0x2217, 0x002B, 0x002C, 0x2212, 0x002E, 0x002F, | 206 0x0028, 0x0029, 0x2217, 0x002B, 0x002C, 0x2212, 0x002E, 0x002F, |
206 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, | 207 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, |
207 0x0038, 0x0039, 0x003A, 0x003B, 0x003C, 0x003D, 0x003E, 0x003F, | 208 0x0038, 0x0039, 0x003A, 0x003B, 0x003C, 0x003D, 0x003E, 0x003F, |
208 0x2245, 0x0391, 0x0392, 0x03A7, 0x0394, 0x0395, 0x03A6, 0x0393, | 209 0x2245, 0x0391, 0x0392, 0x03A7, 0x0394, 0x0395, 0x03A6, 0x0393, |
209 0x0397, 0x0399, 0x03D1, 0x039A, 0x039B, 0x039C, 0x039D, 0x039F, | 210 0x0397, 0x0399, 0x03D1, 0x039A, 0x039B, 0x039C, 0x039D, 0x039F, |
(...skipping 13 matching lines...) Expand all Loading... |
223 0x00F7, 0x2260, 0x2261, 0x2248, 0x2026, 0xF8E6, 0xF8E7, 0x21B5, | 224 0x00F7, 0x2260, 0x2261, 0x2248, 0x2026, 0xF8E6, 0xF8E7, 0x21B5, |
224 0x2135, 0x2111, 0x211C, 0x2118, 0x2297, 0x2295, 0x2205, 0x2229, | 225 0x2135, 0x2111, 0x211C, 0x2118, 0x2297, 0x2295, 0x2205, 0x2229, |
225 0x222A, 0x2283, 0x2287, 0x2284, 0x2282, 0x2286, 0x2208, 0x2209, | 226 0x222A, 0x2283, 0x2287, 0x2284, 0x2282, 0x2286, 0x2208, 0x2209, |
226 0x2220, 0x2207, 0xF6DA, 0xF6D9, 0xF6DB, 0x220F, 0x221A, 0x22C5, | 227 0x2220, 0x2207, 0xF6DA, 0xF6D9, 0xF6DB, 0x220F, 0x221A, 0x22C5, |
227 0x00AC, 0x2227, 0x2228, 0x21D4, 0x21D0, 0x21D1, 0x21D2, 0x21D3, | 228 0x00AC, 0x2227, 0x2228, 0x21D4, 0x21D0, 0x21D1, 0x21D2, 0x21D3, |
228 0x25CA, 0x2329, 0xF8E8, 0xF8E9, 0xF8EA, 0x2211, 0xF8EB, 0xF8EC, | 229 0x25CA, 0x2329, 0xF8E8, 0xF8E9, 0xF8EA, 0x2211, 0xF8EB, 0xF8EC, |
229 0xF8ED, 0xF8EE, 0xF8EF, 0xF8F0, 0xF8F1, 0xF8F2, 0xF8F3, 0xF8F4, | 230 0xF8ED, 0xF8EE, 0xF8EF, 0xF8F0, 0xF8F1, 0xF8F2, 0xF8F3, 0xF8F4, |
230 0x0000, 0x232A, 0x222B, 0x2320, 0xF8F5, 0x2321, 0xF8F6, 0xF8F7, | 231 0x0000, 0x232A, 0x222B, 0x2320, 0xF8F5, 0x2321, 0xF8F6, 0xF8F7, |
231 0xF8F8, 0xF8F9, 0xF8FA, 0xF8FB, 0xF8FC, 0xF8FD, 0xF8FE, 0x0000, | 232 0xF8F8, 0xF8F9, 0xF8FA, 0xF8FB, 0xF8FC, 0xF8FD, 0xF8FE, 0x0000, |
232 }; | 233 }; |
233 const FX_WORD ZapfEncoding[256] = { | 234 static const FX_WORD ZapfEncoding[256] = { |
234 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, | 235 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
235 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, | 236 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
236 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, | 237 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
237 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, | 238 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
238 0x0020, 0x2701, 0x2702, 0x2703, 0x2704, 0x260E, 0x2706, 0x2707, | 239 0x0020, 0x2701, 0x2702, 0x2703, 0x2704, 0x260E, 0x2706, 0x2707, |
239 0x2708, 0x2709, 0x261B, 0x261E, 0x270C, 0x270D, 0x270E, 0x270F, | 240 0x2708, 0x2709, 0x261B, 0x261E, 0x270C, 0x270D, 0x270E, 0x270F, |
240 0x2710, 0x2711, 0x2712, 0x2713, 0x2714, 0x2715, 0x2716, 0x2717, | 241 0x2710, 0x2711, 0x2712, 0x2713, 0x2714, 0x2715, 0x2716, 0x2717, |
241 0x2718, 0x2719, 0x271A, 0x271B, 0x271C, 0x271D, 0x271E, 0x271F, | 242 0x2718, 0x2719, 0x271A, 0x271B, 0x271C, 0x271D, 0x271E, 0x271F, |
242 0x2720, 0x2721, 0x2722, 0x2723, 0x2724, 0x2725, 0x2726, 0x2727, | 243 0x2720, 0x2721, 0x2722, 0x2723, 0x2724, 0x2725, 0x2726, 0x2727, |
243 0x2605, 0x2729, 0x272A, 0x272B, 0x272C, 0x272D, 0x272E, 0x272F, | 244 0x2605, 0x2729, 0x272A, 0x272B, 0x272C, 0x272D, 0x272E, 0x272F, |
(...skipping 13 matching lines...) Expand all Loading... |
257 0x2778, 0x2779, 0x277A, 0x277B, 0x277C, 0x277D, 0x277E, 0x277F, | 258 0x2778, 0x2779, 0x277A, 0x277B, 0x277C, 0x277D, 0x277E, 0x277F, |
258 0x2780, 0x2781, 0x2782, 0x2783, 0x2784, 0x2785, 0x2786, 0x2787, | 259 0x2780, 0x2781, 0x2782, 0x2783, 0x2784, 0x2785, 0x2786, 0x2787, |
259 0x2788, 0x2789, 0x278A, 0x278B, 0x278C, 0x278D, 0x278E, 0x278F, | 260 0x2788, 0x2789, 0x278A, 0x278B, 0x278C, 0x278D, 0x278E, 0x278F, |
260 0x2790, 0x2791, 0x2792, 0x2793, 0x2794, 0x2192, 0x2194, 0x2195, | 261 0x2790, 0x2791, 0x2792, 0x2793, 0x2794, 0x2192, 0x2194, 0x2195, |
261 0x2798, 0x2799, 0x279A, 0x279B, 0x279C, 0x279D, 0x279E, 0x279F, | 262 0x2798, 0x2799, 0x279A, 0x279B, 0x279C, 0x279D, 0x279E, 0x279F, |
262 0x27A0, 0x27A1, 0x27A2, 0x27A3, 0x27A4, 0x27A5, 0x27A6, 0x27A7, | 263 0x27A0, 0x27A1, 0x27A2, 0x27A3, 0x27A4, 0x27A5, 0x27A6, 0x27A7, |
263 0x27A8, 0x27A9, 0x27AA, 0x27AB, 0x27AC, 0x27AD, 0x27AE, 0x27AF, | 264 0x27A8, 0x27A9, 0x27AA, 0x27AB, 0x27AC, 0x27AD, 0x27AE, 0x27AF, |
264 0x0000, 0x27B1, 0x27B2, 0x27B3, 0x27B4, 0x27B5, 0x27B6, 0x27B7, | 265 0x0000, 0x27B1, 0x27B2, 0x27B3, 0x27B4, 0x27B5, 0x27B6, 0x27B7, |
265 0x27B8, 0x27B9, 0x27BA, 0x27BB, 0x27BC, 0x27BD, 0x27BE, 0x0000, | 266 0x27B8, 0x27B9, 0x27BA, 0x27BB, 0x27BC, 0x27BD, 0x27BE, 0x0000, |
266 }; | 267 }; |
267 const FX_CHAR* const StandardEncodingNames[224] = { | 268 static const FX_CHAR* const StandardEncodingNames[224] = { |
268 "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand
", "quoteright", | 269 "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand
", "quoteright", |
269 "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period",
"slash", | 270 "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period",
"slash", |
270 "zero", "one", "two", "three", "four", "five", "six", "seven", | 271 "zero", "one", "two", "three", "four", "five", "six", "seven", |
271 "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question
", | 272 "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question
", |
272 "at", "A", "B", "C", "D", "E", "F", "G", | 273 "at", "A", "B", "C", "D", "E", "F", "G", |
273 "H", "I", "J", "K", "L", "M", "N", "O", | 274 "H", "I", "J", "K", "L", "M", "N", "O", |
274 "P", "Q", "R", "S", "T", "U", "V", "W", | 275 "P", "Q", "R", "S", "T", "U", "V", "W", |
275 "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "u
nderscore", | 276 "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "u
nderscore", |
276 "quoteleft", "a", "b", "c", "d", "e", "f", "g", | 277 "quoteleft", "a", "b", "c", "d", "e", "f", "g", |
277 "h", "i", "j", "k", "l", "m", "n", "o", | 278 "h", "i", "j", "k", "l", "m", "n", "o", |
278 "p", "q", "r", "s", "t", "u", "v", "w", | 279 "p", "q", "r", "s", "t", "u", "v", "w", |
279 "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", NULL, | 280 "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", NULL, |
280 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | 281 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
281 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | 282 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
282 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | 283 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
283 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | 284 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
284 NULL, "exclamdown", "cent", "sterling", "fraction", "yen", "florin", "sectio
n", | 285 NULL, "exclamdown", "cent", "sterling", "fraction", "yen", "florin", "sectio
n", |
285 "currency", "quotesingle", "quotedblleft", "guillemotleft", "guilsinglleft",
"guilsinglright", "fi", "fl", | 286 "currency", "quotesingle", "quotedblleft", "guillemotleft", "guilsinglleft",
"guilsinglright", "fi", "fl", |
286 NULL, "endash", "dagger", "daggerdbl", "periodcentered", NULL, "paragraph",
"bullet", | 287 NULL, "endash", "dagger", "daggerdbl", "periodcentered", NULL, "paragraph",
"bullet", |
287 "quotesinglbase", "quotedblbase", "quotedblright", "guillemotright", "ellips
is", "perthousand", NULL, "questiondown", | 288 "quotesinglbase", "quotedblbase", "quotedblright", "guillemotright", "ellips
is", "perthousand", NULL, "questiondown", |
288 NULL, "grave", "acute", "circumflex", "tilde", "macron", "breve", "dotaccent
", | 289 NULL, "grave", "acute", "circumflex", "tilde", "macron", "breve", "dotaccent
", |
289 "dieresis", NULL, "ring", "cedilla", NULL, "hungarumlaut", "ogonek", "caron"
, | 290 "dieresis", NULL, "ring", "cedilla", NULL, "hungarumlaut", "ogonek", "caron"
, |
290 "emdash", NULL, NULL, NULL, NULL, NULL, NULL, NULL, | 291 "emdash", NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
291 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | 292 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
292 NULL, "AE", NULL, "ordfeminine", NULL, NULL, NULL, NULL, | 293 NULL, "AE", NULL, "ordfeminine", NULL, NULL, NULL, NULL, |
293 "Lslash", "Oslash", "OE", "ordmasculine", NULL, NULL, NULL, NULL, | 294 "Lslash", "Oslash", "OE", "ordmasculine", NULL, NULL, NULL, NULL, |
294 NULL, "ae", NULL, NULL, NULL, "dotlessi", NULL, NULL, | 295 NULL, "ae", NULL, NULL, NULL, "dotlessi", NULL, NULL, |
295 "lslash", "oslash", "oe", "germandbls", NULL, NULL, NULL, NULL, | 296 "lslash", "oslash", "oe", "germandbls", NULL, NULL, NULL, NULL, |
296 }; | 297 }; |
297 const FX_CHAR* const AdobeWinAnsiEncodingNames[224] = { | 298 static const FX_CHAR* const AdobeWinAnsiEncodingNames[224] = { |
298 "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand
", "quotesingle", | 299 "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand
", "quotesingle", |
299 "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period",
"slash", | 300 "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period",
"slash", |
300 "zero", "one", "two", "three", "four", "five", "six", "seven", | 301 "zero", "one", "two", "three", "four", "five", "six", "seven", |
301 "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question
", | 302 "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question
", |
302 "at", "A", "B", "C", "D", "E", "F", "G", | 303 "at", "A", "B", "C", "D", "E", "F", "G", |
303 "H", "I", "J", "K", "L", "M", "N", "O", | 304 "H", "I", "J", "K", "L", "M", "N", "O", |
304 "P", "Q", "R", "S", "T", "U", "V", "W", | 305 "P", "Q", "R", "S", "T", "U", "V", "W", |
305 "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "u
nderscore", | 306 "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "u
nderscore", |
306 "grave", "a", "b", "c", "d", "e", "f", "g", | 307 "grave", "a", "b", "c", "d", "e", "f", "g", |
307 "h", "i", "j", "k", "l", "m", "n", "o", | 308 "h", "i", "j", "k", "l", "m", "n", "o", |
308 "p", "q", "r", "s", "t", "u", "v", "w", | 309 "p", "q", "r", "s", "t", "u", "v", "w", |
309 "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", "bullet", | 310 "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", "bullet", |
310 "Euro", "bullet", "quotesinglbase", "florin", "quotedblbase", "ellipsis", "d
agger", "daggerdbl", | 311 "Euro", "bullet", "quotesinglbase", "florin", "quotedblbase", "ellipsis", "d
agger", "daggerdbl", |
311 "circumflex", "perthousand", "Scaron", "guilsinglleft", "OE", "bullet", "Zca
ron", "bullet", | 312 "circumflex", "perthousand", "Scaron", "guilsinglleft", "OE", "bullet", "Zca
ron", "bullet", |
312 "bullet", "quoteleft", "quoteright", "quotedblleft", "quotedblright", "bulle
t", "endash", "emdash", | 313 "bullet", "quoteleft", "quoteright", "quotedblleft", "quotedblright", "bulle
t", "endash", "emdash", |
313 "tilde", "trademark", "scaron", "guilsinglright", "oe", "bullet", "zcaron",
"Ydieresis", | 314 "tilde", "trademark", "scaron", "guilsinglright", "oe", "bullet", "zcaron",
"Ydieresis", |
314 "space", "exclamdown", "cent", "sterling", "currency", "yen", "brokenbar", "
section", | 315 "space", "exclamdown", "cent", "sterling", "currency", "yen", "brokenbar", "
section", |
315 "dieresis", "copyright", "ordfeminine", "guillemotleft", "logicalnot", "hyph
en", "registered", "macron", | 316 "dieresis", "copyright", "ordfeminine", "guillemotleft", "logicalnot", "hyph
en", "registered", "macron", |
316 "degree", "plusminus", "twosuperior", "threesuperior", "acute", "mu", "parag
raph", "periodcentered", | 317 "degree", "plusminus", "twosuperior", "threesuperior", "acute", "mu", "parag
raph", "periodcentered", |
317 "cedilla", "onesuperior", "ordmasculine", "guillemotright", "onequarter", "o
nehalf", "threequarters", "questiondown", | 318 "cedilla", "onesuperior", "ordmasculine", "guillemotright", "onequarter", "o
nehalf", "threequarters", "questiondown", |
318 "Agrave", "Aacute", "Acircumflex", "Atilde", "Adieresis", "Aring", "AE", "Cc
edilla", | 319 "Agrave", "Aacute", "Acircumflex", "Atilde", "Adieresis", "Aring", "AE", "Cc
edilla", |
319 "Egrave", "Eacute", "Ecircumflex", "Edieresis", "Igrave", "Iacute", "Icircum
flex", "Idieresis", | 320 "Egrave", "Eacute", "Ecircumflex", "Edieresis", "Igrave", "Iacute", "Icircum
flex", "Idieresis", |
320 "Eth", "Ntilde", "Ograve", "Oacute", "Ocircumflex", "Otilde", "Odieresis", "
multiply", | 321 "Eth", "Ntilde", "Ograve", "Oacute", "Ocircumflex", "Otilde", "Odieresis", "
multiply", |
321 "Oslash", "Ugrave", "Uacute", "Ucircumflex", "Udieresis", "Yacute", "Thorn",
"germandbls", | 322 "Oslash", "Ugrave", "Uacute", "Ucircumflex", "Udieresis", "Yacute", "Thorn",
"germandbls", |
322 "agrave", "aacute", "acircumflex", "atilde", "adieresis", "aring", "ae", "cc
edilla", | 323 "agrave", "aacute", "acircumflex", "atilde", "adieresis", "aring", "ae", "cc
edilla", |
323 "egrave", "eacute", "ecircumflex", "edieresis", "igrave", "iacute", "icircum
flex", "idieresis", | 324 "egrave", "eacute", "ecircumflex", "edieresis", "igrave", "iacute", "icircum
flex", "idieresis", |
324 "eth", "ntilde", "ograve", "oacute", "ocircumflex", "otilde", "odieresis", "
divide", | 325 "eth", "ntilde", "ograve", "oacute", "ocircumflex", "otilde", "odieresis", "
divide", |
325 "oslash", "ugrave", "uacute", "ucircumflex", "udieresis", "yacute", "thorn",
"ydieresis", | 326 "oslash", "ugrave", "uacute", "ucircumflex", "udieresis", "yacute", "thorn",
"ydieresis", |
326 }; | 327 }; |
327 const FX_CHAR* const MacRomanEncodingNames[224] = { | 328 static const FX_CHAR* const MacRomanEncodingNames[224] = { |
328 "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand
", "quotesingle", | 329 "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand
", "quotesingle", |
329 "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period",
"slash", | 330 "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period",
"slash", |
330 "zero", "one", "two", "three", "four", "five", "six", "seven", | 331 "zero", "one", "two", "three", "four", "five", "six", "seven", |
331 "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question
", | 332 "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question
", |
332 "at", "A", "B", "C", "D", "E", "F", "G", | 333 "at", "A", "B", "C", "D", "E", "F", "G", |
333 "H", "I", "J", "K", "L", "M", "N", "O", | 334 "H", "I", "J", "K", "L", "M", "N", "O", |
334 "P", "Q", "R", "S", "T", "U", "V", "W", | 335 "P", "Q", "R", "S", "T", "U", "V", "W", |
335 "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "u
nderscore", | 336 "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "u
nderscore", |
336 "grave", "a", "b", "c", "d", "e", "f", "g", | 337 "grave", "a", "b", "c", "d", "e", "f", "g", |
337 "h", "i", "j", "k", "l", "m", "n", "o", | 338 "h", "i", "j", "k", "l", "m", "n", "o", |
338 "p", "q", "r", "s", "t", "u", "v", "w", | 339 "p", "q", "r", "s", "t", "u", "v", "w", |
339 "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", NULL, | 340 "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", NULL, |
340 "Adieresis", "Aring", "Ccedilla", "Eacute", "Ntilde", "Odieresis", "Udieresi
s", "aacute", | 341 "Adieresis", "Aring", "Ccedilla", "Eacute", "Ntilde", "Odieresis", "Udieresi
s", "aacute", |
341 "agrave", "acircumflex", "adieresis", "atilde", "aring", "ccedilla", "eacute
", "egrave", | 342 "agrave", "acircumflex", "adieresis", "atilde", "aring", "ccedilla", "eacute
", "egrave", |
342 "ecircumflex", "edieresis", "iacute", "igrave", "icircumflex", "idieresis",
"ntilde", "oacute", | 343 "ecircumflex", "edieresis", "iacute", "igrave", "icircumflex", "idieresis",
"ntilde", "oacute", |
343 "ograve", "ocircumflex", "odieresis", "otilde", "uacute", "ugrave", "ucircum
flex", "udieresis", | 344 "ograve", "ocircumflex", "odieresis", "otilde", "uacute", "ugrave", "ucircum
flex", "udieresis", |
344 "dagger", "degree", "cent", "sterling", "section", "bullet", "paragraph", "g
ermandbls", | 345 "dagger", "degree", "cent", "sterling", "section", "bullet", "paragraph", "g
ermandbls", |
345 "registered", "copyright", "trademark", "acute", "dieresis", "notequal", "AE
", "Oslash", | 346 "registered", "copyright", "trademark", "acute", "dieresis", "notequal", "AE
", "Oslash", |
346 "infinity", "plusminus", "lessequal", "greaterequal", "yen", "mu", "partiald
iff", "summation", | 347 "infinity", "plusminus", "lessequal", "greaterequal", "yen", "mu", "partiald
iff", "summation", |
347 "product", "pi", "integral", "ordfeminine", "ordmasculine", "Omega", "ae", "
oslash", | 348 "product", "pi", "integral", "ordfeminine", "ordmasculine", "Omega", "ae", "
oslash", |
348 "questiondown", "exclamdown", "logicalnot", "radical", "florin", "approxequa
l", "Delta", "guillemotleft", | 349 "questiondown", "exclamdown", "logicalnot", "radical", "florin", "approxequa
l", "Delta", "guillemotleft", |
349 "guillemotright", "ellipsis", "space", "Agrave", "Atilde", "Otilde", "OE", "
oe", | 350 "guillemotright", "ellipsis", "space", "Agrave", "Atilde", "Otilde", "OE", "
oe", |
350 "endash", "emdash", "quotedblleft", "quotedblright", "quoteleft", "quoterigh
t", "divide", "lozenge", | 351 "endash", "emdash", "quotedblleft", "quotedblright", "quoteleft", "quoterigh
t", "divide", "lozenge", |
351 "ydieresis", "Ydieresis", "fraction", "currency", "guilsinglleft", "guilsing
lright", "fi", "fl", | 352 "ydieresis", "Ydieresis", "fraction", "currency", "guilsinglleft", "guilsing
lright", "fi", "fl", |
352 "daggerdbl", "periodcentered", "quotesinglbase", "quotedblbase", "perthousan
d", "Acircumflex", "Ecircumflex", "Aacute", | 353 "daggerdbl", "periodcentered", "quotesinglbase", "quotedblbase", "perthousan
d", "Acircumflex", "Ecircumflex", "Aacute", |
353 "Edieresis", "Egrave", "Iacute", "Icircumflex", "Idieresis", "Igrave", "Oacu
te", "Ocircumflex", | 354 "Edieresis", "Egrave", "Iacute", "Icircumflex", "Idieresis", "Igrave", "Oacu
te", "Ocircumflex", |
354 "apple", "Ograve", "Uacute", "Ucircumflex", "Ugrave", "dotlessi", "circumfle
x", "tilde", | 355 "apple", "Ograve", "Uacute", "Ucircumflex", "Ugrave", "dotlessi", "circumfle
x", "tilde", |
355 "macron", "breve", "dotaccent", "ring", "cedilla", "hungarumlaut", "ogonek",
"caron", | 356 "macron", "breve", "dotaccent", "ring", "cedilla", "hungarumlaut", "ogonek",
"caron", |
356 }; | 357 }; |
357 const FX_CHAR* const MacExpertEncodingNames[224] = { | 358 static const FX_CHAR* const MacExpertEncodingNames[224] = { |
358 "space", "exclamsmall", "Hungarumlautsmall", "centoldstyle", "dollaroldstyle
", "dollarsuperior", "ampersandsmall", "Acutesmall", | 359 "space", "exclamsmall", "Hungarumlautsmall", "centoldstyle", "dollaroldstyle
", "dollarsuperior", "ampersandsmall", "Acutesmall", |
359 "parenleftsuperior", "parenrightsuperior", "twodotenleader", "onedotenleader
", "comma", "hyphen", "period", "fraction", | 360 "parenleftsuperior", "parenrightsuperior", "twodotenleader", "onedotenleader
", "comma", "hyphen", "period", "fraction", |
360 "zerooldstyle", "oneoldstyle", "twooldstyle", "threeoldstyle", "fouroldstyle
", "fiveoldstyle", "sixoldstyle", "sevenoldstyle", | 361 "zerooldstyle", "oneoldstyle", "twooldstyle", "threeoldstyle", "fouroldstyle
", "fiveoldstyle", "sixoldstyle", "sevenoldstyle", |
361 "eightoldstyle", "nineoldstyle", "colon", "semicolon", NULL, "threequarterse
mdash", NULL, "questionsmall", | 362 "eightoldstyle", "nineoldstyle", "colon", "semicolon", NULL, "threequarterse
mdash", NULL, "questionsmall", |
362 NULL, NULL, NULL, NULL, "Ethsmall", NULL, NULL, "onequarter", | 363 NULL, NULL, NULL, NULL, "Ethsmall", NULL, NULL, "onequarter", |
363 "onehalf", "threequarters", "oneeighth", "threeeighths", "fiveeighths", "sev
eneighths", "onethird", "twothirds", | 364 "onehalf", "threequarters", "oneeighth", "threeeighths", "fiveeighths", "sev
eneighths", "onethird", "twothirds", |
364 NULL, NULL, NULL, NULL, NULL, NULL, "ff", "fi", | 365 NULL, NULL, NULL, NULL, NULL, NULL, "ff", "fi", |
365 "fl", "ffi", "ffl", "parenleftinferior", NULL, "parenrightinferior", "Circum
flexsmall", "hypheninferior", | 366 "fl", "ffi", "ffl", "parenleftinferior", NULL, "parenrightinferior", "Circum
flexsmall", "hypheninferior", |
366 "Gravesmall", "Asmall", "Bsmall", "Csmall", "Dsmall", "Esmall", "Fsmall", "G
small", | 367 "Gravesmall", "Asmall", "Bsmall", "Csmall", "Dsmall", "Esmall", "Fsmall", "G
small", |
367 "Hsmall", "Ismall", "Jsmall", "Ksmall", "Lsmall", "Msmall", "Nsmall", "Osmal
l", | 368 "Hsmall", "Ismall", "Jsmall", "Ksmall", "Lsmall", "Msmall", "Nsmall", "Osmal
l", |
368 "Psmall", "Qsmall", "Rsmall", "Ssmall", "Tsmall", "Usmall", "Vsmall", "Wsmal
l", | 369 "Psmall", "Qsmall", "Rsmall", "Ssmall", "Tsmall", "Usmall", "Vsmall", "Wsmal
l", |
369 "Xsmall", "Ysmall", "Zsmall", "colonmonetary", "onefitted", "rupiah", "Tilde
small", NULL, | 370 "Xsmall", "Ysmall", "Zsmall", "colonmonetary", "onefitted", "rupiah", "Tilde
small", NULL, |
370 NULL, "asuperior", "centsuperior", NULL, NULL, NULL, NULL, "Aacutesmall", | 371 NULL, "asuperior", "centsuperior", NULL, NULL, NULL, NULL, "Aacutesmall", |
371 "Agravesmall", "Acircumflexsmall", "Adieresissmall", "Atildesmall", "Aringsm
all", "Ccedillasmall", "Eacutesmall", "Egravesmall", | 372 "Agravesmall", "Acircumflexsmall", "Adieresissmall", "Atildesmall", "Aringsm
all", "Ccedillasmall", "Eacutesmall", "Egravesmall", |
372 "Ecircumflexsmall", "Edieresissmall", "Iacutesmall", "Igravesmall", "Icircum
flexsmall", "Idieresissmall", "Ntildesmall", "Oacutesmall", | 373 "Ecircumflexsmall", "Edieresissmall", "Iacutesmall", "Igravesmall", "Icircum
flexsmall", "Idieresissmall", "Ntildesmall", "Oacutesmall", |
373 "Ogravesmall", "Ocircumflexsmall", "Odieresissmall", "Otildesmall", "Uacutes
mall", "Ugravesmall", "Ucircumflexsmall", "Udieresissmall", | 374 "Ogravesmall", "Ocircumflexsmall", "Odieresissmall", "Otildesmall", "Uacutes
mall", "Ugravesmall", "Ucircumflexsmall", "Udieresissmall", |
374 NULL, "eightsuperior", "fourinferior", "threeinferior", "sixinferior", "eigh
tinferior", "seveninferior", "Scaronsmall", | 375 NULL, "eightsuperior", "fourinferior", "threeinferior", "sixinferior", "eigh
tinferior", "seveninferior", "Scaronsmall", |
375 NULL, "centinferior", "twoinferior", NULL, "Dieresissmall", NULL, "Caronsmal
l", "Scaronsmall", | 376 NULL, "centinferior", "twoinferior", NULL, "Dieresissmall", NULL, "Caronsmal
l", "Scaronsmall", |
376 "fiveinferior", NULL, "commainferior", "periodinferior", "Yacutesmall", NULL
, "dollarinferior", NULL, | 377 "fiveinferior", NULL, "commainferior", "periodinferior", "Yacutesmall", NULL
, "dollarinferior", NULL, |
377 NULL, "Thornsmall", NULL, "nineinferior", "zeroinferior", "Zcaronsmall", "AE
small", "Oslashsmall", | 378 NULL, "Thornsmall", NULL, "nineinferior", "zeroinferior", "Zcaronsmall", "AE
small", "Oslashsmall", |
378 "questiondownsmall", "oneinferior", "asuperior", NULL, NULL, NULL, NULL, NUL
L, | 379 "questiondownsmall", "oneinferior", "asuperior", NULL, NULL, NULL, NULL, NUL
L, |
379 NULL, "Cedillasmall", NULL, NULL, NULL, NULL, NULL, "OEsmall", | 380 NULL, "Cedillasmall", NULL, NULL, NULL, NULL, NULL, "OEsmall", |
380 "figuredash", "hyphensuperior", NULL, NULL, NULL, NULL, "exclamdownsmall", N
ULL, | 381 "figuredash", "hyphensuperior", NULL, NULL, NULL, NULL, "exclamdownsmall", N
ULL, |
381 "Ydieresissmall", NULL, "onesuperior", "twosuperior", "threesuperior", "four
superior", "fivesuperior", "sixsuperior", | 382 "Ydieresissmall", NULL, "onesuperior", "twosuperior", "threesuperior", "four
superior", "fivesuperior", "sixsuperior", |
382 "sevensuperior", "ninesuperior", "zerosuperior", NULL, "esuperior", "rsuperi
or", NULL, NULL, | 383 "sevensuperior", "ninesuperior", "zerosuperior", NULL, "esuperior", "rsuperi
or", NULL, NULL, |
383 NULL, "isuperior", "ssuperior", "dsuperior", NULL, NULL, NULL, NULL, | 384 NULL, "isuperior", "ssuperior", "dsuperior", NULL, NULL, NULL, NULL, |
384 NULL, "lsuperior", "Ogoneksmall", "Brevesmall", "Macronsmall", "bsuperior",
"nsuperior", "msuperior", | 385 NULL, "lsuperior", "Ogoneksmall", "Brevesmall", "Macronsmall", "bsuperior",
"nsuperior", "msuperior", |
385 "commasuperior", "periodsuperior", "Dotaccentsmall", "Ringsmall", NULL, NULL
, NULL, NULL, | 386 "commasuperior", "periodsuperior", "Dotaccentsmall", "Ringsmall", NULL, NULL
, NULL, NULL, |
386 }; | 387 }; |
387 const FX_CHAR* const PDFDocEncodingNames[232] = { | 388 static const FX_CHAR* const PDFDocEncodingNames[232] = { |
388 "breve", "caron", "circumflex", "dotaccent", "hungarumlaut", "ogonek", "ring
", "tilde", | 389 "breve", "caron", "circumflex", "dotaccent", "hungarumlaut", "ogonek", "ring
", "tilde", |
389 "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand
", "quotesingle", | 390 "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand
", "quotesingle", |
390 "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period",
"slash", | 391 "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period",
"slash", |
391 "zero", "one", "two", "three", "four", "five", "six", "seven", | 392 "zero", "one", "two", "three", "four", "five", "six", "seven", |
392 "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question
", | 393 "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question
", |
393 "at", "A", "B", "C", "D", "E", "F", "G", | 394 "at", "A", "B", "C", "D", "E", "F", "G", |
394 "H", "I", "J", "K", "L", "M", "N", "O", | 395 "H", "I", "J", "K", "L", "M", "N", "O", |
395 "P", "Q", "R", "S", "T", "U", "V", "W", | 396 "P", "Q", "R", "S", "T", "U", "V", "W", |
396 "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "u
nderscore", | 397 "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "u
nderscore", |
397 "grave", "a", "b", "c", "d", "e", "f", "g", | 398 "grave", "a", "b", "c", "d", "e", "f", "g", |
(...skipping 10 matching lines...) Expand all Loading... |
408 "cedilla", "onesuperior", "ordmasculine", "guillemotright4", "onequarter", "
onehalf", "threequarters", "questiondown", | 409 "cedilla", "onesuperior", "ordmasculine", "guillemotright4", "onequarter", "
onehalf", "threequarters", "questiondown", |
409 "Agrave", "Aacute", "Acircumflex", "Atilde", "Adieresis", "Aring", "AE", "Cc
edilla", | 410 "Agrave", "Aacute", "Acircumflex", "Atilde", "Adieresis", "Aring", "AE", "Cc
edilla", |
410 "Egrave", "Eacute", "Ecircumflex", "Edieresis", "Igrave", "Iacute", "Icircum
flex", "Idieresis", | 411 "Egrave", "Eacute", "Ecircumflex", "Edieresis", "Igrave", "Iacute", "Icircum
flex", "Idieresis", |
411 "Eth", "Ntilde", "Ograve", "Oacute", "Ocircumflex", "Otilde", "Odieresis", "
multiply", | 412 "Eth", "Ntilde", "Ograve", "Oacute", "Ocircumflex", "Otilde", "Odieresis", "
multiply", |
412 "Oslash", "Ugrave", "Uacute", "Ucircumflex", "Udieresis", "Yacute", "Thorn",
"germandbls", | 413 "Oslash", "Ugrave", "Uacute", "Ucircumflex", "Udieresis", "Yacute", "Thorn",
"germandbls", |
413 "agrave", "aacute", "acircumflex", "atilde", "adieresis", "aring", "ae", "cc
edilla", | 414 "agrave", "aacute", "acircumflex", "atilde", "adieresis", "aring", "ae", "cc
edilla", |
414 "egrave", "eacute", "ecircumflex", "edieresis", "igrave", "iacute", "icircum
flex", "idieresis", | 415 "egrave", "eacute", "ecircumflex", "edieresis", "igrave", "iacute", "icircum
flex", "idieresis", |
415 "eth", "ntilde", "ograve", "oacute", "ocircumflex", "otilde", "odieresis", "
divide", | 416 "eth", "ntilde", "ograve", "oacute", "ocircumflex", "otilde", "odieresis", "
divide", |
416 "oslash", "ugrave", "uacute", "ucircumflex", "udieresis", "yacute", "thorn",
"ydieresis", | 417 "oslash", "ugrave", "uacute", "ucircumflex", "udieresis", "yacute", "thorn",
"ydieresis", |
417 }; | 418 }; |
418 const FX_CHAR* const AdobeSymbolEncodingNames[224] = { | 419 static const FX_CHAR* const AdobeSymbolEncodingNames[224] = { |
419 "space", "exclam", "universal", "numbersign", "existential", "percent", "amp
ersand", "suchthat", | 420 "space", "exclam", "universal", "numbersign", "existential", "percent", "amp
ersand", "suchthat", |
420 "parenleft", "parenright", "asteriskmath", "plus", "comma", "minus", "period
", "slash", | 421 "parenleft", "parenright", "asteriskmath", "plus", "comma", "minus", "period
", "slash", |
421 "zero", "one", "two", "three", "four", "five", "six", "seven", | 422 "zero", "one", "two", "three", "four", "five", "six", "seven", |
422 "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question
", | 423 "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question
", |
423 "congruent", "Alpha", "Beta", "Chi", "Delta", "Epsilon", "Phi", "Gamma", | 424 "congruent", "Alpha", "Beta", "Chi", "Delta", "Epsilon", "Phi", "Gamma", |
424 "Eta", "Iota", "theta1", "Kappa", "Lambda", "Mu", "Nu", "Omicron", | 425 "Eta", "Iota", "theta1", "Kappa", "Lambda", "Mu", "Nu", "Omicron", |
425 "Pi", "Theta", "Rho", "Sigma", "Tau", "Upsilon", "sigma1", "Omega", | 426 "Pi", "Theta", "Rho", "Sigma", "Tau", "Upsilon", "sigma1", "Omega", |
426 "Xi", "Psi", "Zeta", "bracketleft", "therefore", "bracketright", "perpendicu
lar", "underscore", | 427 "Xi", "Psi", "Zeta", "bracketleft", "therefore", "bracketright", "perpendicu
lar", "underscore", |
427 "radicalex", "alpha", "beta", "chi", "delta", "epsilon", "phi", "gamma", | 428 "radicalex", "alpha", "beta", "chi", "delta", "epsilon", "phi", "gamma", |
428 "eta", "iota", "phi1", "kappa", "lambda", "mu", "nu", "omicron", | 429 "eta", "iota", "phi1", "kappa", "lambda", "mu", "nu", "omicron", |
429 "pi", "theta", "rho", "sigma", "tau", "upsilon", "omega1", "omega", | 430 "pi", "theta", "rho", "sigma", "tau", "upsilon", "omega1", "omega", |
430 "xi", "psi", "zeta", "braceleft", "bar", "braceright", "similar", NULL, | 431 "xi", "psi", "zeta", "braceleft", "bar", "braceright", "similar", NULL, |
431 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | 432 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
432 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | 433 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
433 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | 434 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
434 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | 435 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
435 "Euro", "Upsilon1", "minute", "lessequal", "fraction", "infinity", "florin",
"club", | 436 "Euro", "Upsilon1", "minute", "lessequal", "fraction", "infinity", "florin",
"club", |
436 "diamond", "heart", "spade", "arrowboth", "arrowleft", "arrowup", "arrowrigh
t", "arrowdown", | 437 "diamond", "heart", "spade", "arrowboth", "arrowleft", "arrowup", "arrowrigh
t", "arrowdown", |
437 "degree", "plusminus", "second", "greaterequal", "multiply", "proportional",
"partialdiff", "bullet", | 438 "degree", "plusminus", "second", "greaterequal", "multiply", "proportional",
"partialdiff", "bullet", |
438 "divide", "notequal", "equivalence", "approxequal", "ellipsis", "arrowvertex
", "arrowhorizex", "carriagereturn", | 439 "divide", "notequal", "equivalence", "approxequal", "ellipsis", "arrowvertex
", "arrowhorizex", "carriagereturn", |
439 "aleph", "Ifraktur", "Rfraktur", "weierstrass", "circlemultiply", "circleplu
s", "emptyset", "intersection", | 440 "aleph", "Ifraktur", "Rfraktur", "weierstrass", "circlemultiply", "circleplu
s", "emptyset", "intersection", |
440 "union", "propersuperset", "reflexsuperset", "notsubset", "propersubset", "r
eflexsubset", "element", "notelement", | 441 "union", "propersuperset", "reflexsuperset", "notsubset", "propersubset", "r
eflexsubset", "element", "notelement", |
441 "angle", "gradient", "registerserif", "copyrightserif", "trademarkserif", "p
roduct", "radical", "dotmath", | 442 "angle", "gradient", "registerserif", "copyrightserif", "trademarkserif", "p
roduct", "radical", "dotmath", |
442 "logicalnot", "logicaland", "logicalor", "arrowdblboth", "arrowdblleft", "ar
rowdblup", "arrowdblright", "arrowdbldown", | 443 "logicalnot", "logicaland", "logicalor", "arrowdblboth", "arrowdblleft", "ar
rowdblup", "arrowdblright", "arrowdbldown", |
443 "lozenge", "angleleft", "registersans", "copyrightsans", "trademarksans", "s
ummation", "parenlefttp", "parenleftex", | 444 "lozenge", "angleleft", "registersans", "copyrightsans", "trademarksans", "s
ummation", "parenlefttp", "parenleftex", |
444 "parenleftbt", "bracketlefttp", "bracketleftex", "bracketleftbt", "braceleft
tp", "braceleftmid", "braceleftbt", "braceex", | 445 "parenleftbt", "bracketlefttp", "bracketleftex", "bracketleftbt", "braceleft
tp", "braceleftmid", "braceleftbt", "braceex", |
445 NULL, "angleright", "integral", "integraltp", "integralex", "integralbt", "p
arenrighttp", "parenrightex", | 446 NULL, "angleright", "integral", "integraltp", "integralex", "integralbt", "p
arenrighttp", "parenrightex", |
446 "parenrightbt", "bracketrighttp", "bracketrightex", "bracketrightbt", "brace
righttp", "bracerightmid", "bracerightbt", NULL, | 447 "parenrightbt", "bracketrighttp", "bracketrightex", "bracketrightbt", "brace
righttp", "bracerightmid", "bracerightbt", NULL, |
447 }; | 448 }; |
448 const FX_CHAR* const ZapfEncodingNames[224] = { | 449 static const FX_CHAR* const ZapfEncodingNames[224] = { |
449 "space", "a1", "a2", "a202", "a3", "a4", "a5", "a119", | 450 "space", "a1", "a2", "a202", "a3", "a4", "a5", "a119", |
450 "a118", "a117", "a11", "a12", "a13", "a14", "a15", "a16", | 451 "a118", "a117", "a11", "a12", "a13", "a14", "a15", "a16", |
451 "a105", "a17", "a18", "a19", "a20", "a21", "a22", "a23", | 452 "a105", "a17", "a18", "a19", "a20", "a21", "a22", "a23", |
452 "a24", "a25", "a26", "a27", "a28", "a6", "a7", "a8", | 453 "a24", "a25", "a26", "a27", "a28", "a6", "a7", "a8", |
453 "a9", "a10", "a29", "a30", "a31", "a32", "a33", "a34", | 454 "a9", "a10", "a29", "a30", "a31", "a32", "a33", "a34", |
454 "a35", "a36", "a37", "a38", "a39", "a40", "a41", "a42", | 455 "a35", "a36", "a37", "a38", "a39", "a40", "a41", "a42", |
455 "a43", "a44", "a45", "a46", "a47", "a48", "a49", "a50", | 456 "a43", "a44", "a45", "a46", "a47", "a48", "a49", "a50", |
456 "a51", "a52", "a53", "a54", "a55", "a56", "a57", "a58", | 457 "a51", "a52", "a53", "a54", "a55", "a56", "a57", "a58", |
457 "a59", "a60", "a61", "a62", "a63", "a64", "a65", "a66", | 458 "a59", "a60", "a61", "a62", "a63", "a64", "a65", "a66", |
458 "a67", "a68", "a69", "a70", "a71", "a72", "a73", "a74", | 459 "a67", "a68", "a69", "a70", "a71", "a72", "a73", "a74", |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 return 0; | 526 return 0; |
526 } | 527 } |
527 static FX_DWORD PDF_FindCode(const FX_WORD* pCodes, FX_WORD unicode) | 528 static FX_DWORD PDF_FindCode(const FX_WORD* pCodes, FX_WORD unicode) |
528 { | 529 { |
529 for (FX_DWORD i = 0; i < 256; i ++) | 530 for (FX_DWORD i = 0; i < 256; i ++) |
530 if (pCodes[i] == unicode) { | 531 if (pCodes[i] == unicode) { |
531 return i; | 532 return i; |
532 } | 533 } |
533 return 0; | 534 return 0; |
534 } | 535 } |
535 const FX_WORD MSSymbolEncoding[256] = { | 536 static const FX_WORD MSSymbolEncoding[256] = { |
536 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, | 537 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, |
537 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, | 538 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, |
538 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, | 539 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00
00, |
539 0x0000, 0x0000, 32, 33, 8704, 35, 8707, 37, 38, 8715, | 540 0x0000, 0x0000, 32, 33, 8704, 35, 8707, 37, 38, 8715, |
540 40, 41, 8727, 43, 44, 8722, 46, 47, 48, 49, | 541 40, 41, 8727, 43, 44, 8722, 46, 47, 48, 49, |
541 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, | 542 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, |
542 60, 61, 62, 63, 8773, 913, 914, 935, 916, 917, | 543 60, 61, 62, 63, 8773, 913, 914, 935, 916, 917, |
543 934, 915, 919, 921, 977, 922, 923, 924, 925, 927, | 544 934, 915, 919, 921, 977, 922, 923, 924, 925, 927, |
544 928, 920, 929, 931, 932, 933, 962, 937, 926, 936, | 545 928, 920, 929, 931, 932, 933, 962, 937, 926, 936, |
545 918, 91, 8756, 93, 8869, 95, 8254, 945, 946, 967, | 546 918, 91, 8756, 93, 8869, 95, 8254, 945, 946, 967, |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
617 FX_WCHAR PDF_UnicodeFromAdobeName(const FX_CHAR* name) | 618 FX_WCHAR PDF_UnicodeFromAdobeName(const FX_CHAR* name) |
618 { | 619 { |
619 return (FX_WCHAR)(FXFT_unicode_from_adobe_name(name) & 0x7FFFFFFF); | 620 return (FX_WCHAR)(FXFT_unicode_from_adobe_name(name) & 0x7FFFFFFF); |
620 } | 621 } |
621 CFX_ByteString PDF_AdobeNameFromUnicode(FX_WCHAR unicode) | 622 CFX_ByteString PDF_AdobeNameFromUnicode(FX_WCHAR unicode) |
622 { | 623 { |
623 char glyph_name[64]; | 624 char glyph_name[64]; |
624 FXFT_adobe_name_from_unicode(glyph_name, unicode); | 625 FXFT_adobe_name_from_unicode(glyph_name, unicode); |
625 return CFX_ByteString(glyph_name, -1); | 626 return CFX_ByteString(glyph_name, -1); |
626 } | 627 } |
OLD | NEW |