pdf-codec 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -0
- package/dist/afm-widths-BoeTOK2r.cjs +826 -0
- package/dist/afm-widths-Dxucrg7D.js +779 -0
- package/dist/afm-widths-DyDq56Ph.d.cts +19 -0
- package/dist/afm-widths-DyDq56Ph.d.ts +19 -0
- package/dist/afm-widths.cjs +4 -0
- package/dist/afm-widths.d.cts +2 -0
- package/dist/afm-widths.d.ts +2 -0
- package/dist/afm-widths.js +2 -0
- package/dist/assets/stix-two-math-font.cjs +5 -0
- package/dist/assets/stix-two-math-font.d.cts +4 -0
- package/dist/assets/stix-two-math-font.d.ts +4 -0
- package/dist/assets/stix-two-math-font.js +4 -0
- package/dist/bytes/crc32.cjs +21 -0
- package/dist/bytes/crc32.d.cts +4 -0
- package/dist/bytes/crc32.d.ts +4 -0
- package/dist/bytes/crc32.js +20 -0
- package/dist/bytes/flate.cjs +53 -0
- package/dist/bytes/flate.d.cts +12 -0
- package/dist/bytes/flate.d.ts +12 -0
- package/dist/bytes/flate.js +49 -0
- package/dist/bytes/reader.cjs +60 -0
- package/dist/bytes/reader.d.cts +20 -0
- package/dist/bytes/reader.d.ts +20 -0
- package/dist/bytes/reader.js +58 -0
- package/dist/bytes/writer.cjs +37 -0
- package/dist/bytes/writer.d.cts +13 -0
- package/dist/bytes/writer.d.ts +13 -0
- package/dist/bytes/writer.js +35 -0
- package/dist/cmap.cjs +110 -0
- package/dist/cmap.d.cts +8 -0
- package/dist/cmap.d.ts +8 -0
- package/dist/cmap.js +109 -0
- package/dist/codec.cjs +34 -0
- package/dist/codec.d.cts +167 -0
- package/dist/codec.d.ts +167 -0
- package/dist/codec.js +32 -0
- package/dist/content-read.cjs +126 -0
- package/dist/content-read.d.cts +21 -0
- package/dist/content-read.d.ts +21 -0
- package/dist/content-read.js +125 -0
- package/dist/content-write.cjs +138 -0
- package/dist/content-write.d.cts +24 -0
- package/dist/content-write.d.ts +24 -0
- package/dist/content-write.js +137 -0
- package/dist/diagnostics.cjs +21 -0
- package/dist/diagnostics.d.cts +19 -0
- package/dist/diagnostics.d.ts +19 -0
- package/dist/diagnostics.js +18 -0
- package/dist/document.cjs +162 -0
- package/dist/document.d.cts +12 -0
- package/dist/document.d.ts +12 -0
- package/dist/document.js +161 -0
- package/dist/encoding.cjs +5 -0
- package/dist/encoding.d.cts +6 -0
- package/dist/encoding.d.ts +6 -0
- package/dist/encoding.js +2 -0
- package/dist/filters.cjs +223 -0
- package/dist/filters.d.cts +14 -0
- package/dist/filters.d.ts +14 -0
- package/dist/filters.js +218 -0
- package/dist/font-read.cjs +199 -0
- package/dist/font-read.d.cts +23 -0
- package/dist/font-read.d.ts +23 -0
- package/dist/font-read.js +198 -0
- package/dist/font-style.cjs +35 -0
- package/dist/font-style.d.cts +14 -0
- package/dist/font-style.d.ts +14 -0
- package/dist/font-style.js +34 -0
- package/dist/fonts.cjs +124 -0
- package/dist/fonts.d.cts +15 -0
- package/dist/fonts.d.ts +15 -0
- package/dist/fonts.js +122 -0
- package/dist/formula.cjs +0 -0
- package/dist/formula.d.cts +10 -0
- package/dist/formula.d.ts +10 -0
- package/dist/formula.js +0 -0
- package/dist/image/jpeg-info.cjs +71 -0
- package/dist/image/jpeg-info.d.cts +12 -0
- package/dist/image/jpeg-info.d.ts +12 -0
- package/dist/image/jpeg-info.js +70 -0
- package/dist/image/png-decode.cjs +181 -0
- package/dist/image/png-decode.d.cts +14 -0
- package/dist/image/png-decode.d.ts +14 -0
- package/dist/image/png-decode.js +180 -0
- package/dist/image/png-encode.cjs +64 -0
- package/dist/image/png-encode.d.cts +8 -0
- package/dist/image/png-encode.d.ts +8 -0
- package/dist/image/png-encode.js +63 -0
- package/dist/image/png-filter.cjs +95 -0
- package/dist/image/png-filter.d.cts +6 -0
- package/dist/image/png-filter.d.ts +6 -0
- package/dist/image/png-filter.js +93 -0
- package/dist/images-read.cjs +250 -0
- package/dist/images-read.d.cts +13 -0
- package/dist/images-read.d.ts +13 -0
- package/dist/images-read.js +249 -0
- package/dist/index.cjs +45 -5912
- package/dist/index.d.cts +21 -483
- package/dist/index.d.ts +21 -483
- package/dist/index.js +18 -5885
- package/dist/interpret.cjs +587 -0
- package/dist/interpret.d.cts +84 -0
- package/dist/interpret.d.ts +84 -0
- package/dist/interpret.js +586 -0
- package/dist/lexer.cjs +180 -0
- package/dist/lexer.d.cts +29 -0
- package/dist/lexer.d.ts +29 -0
- package/dist/lexer.js +179 -0
- package/dist/math-cmap.cjs +81 -0
- package/dist/math-cmap.d.cts +6 -0
- package/dist/math-cmap.d.ts +6 -0
- package/dist/math-cmap.js +80 -0
- package/dist/math-content-write.cjs +83 -0
- package/dist/math-content-write.d.cts +11 -0
- package/dist/math-content-write.d.ts +11 -0
- package/dist/math-content-write.js +81 -0
- package/dist/math-font-write.cjs +100 -0
- package/dist/math-font-write.d.cts +19 -0
- package/dist/math-font-write.d.ts +19 -0
- package/dist/math-font-write.js +99 -0
- package/dist/math-font.cjs +103 -0
- package/dist/math-font.d.cts +25 -0
- package/dist/math-font.d.ts +25 -0
- package/dist/math-font.js +102 -0
- package/dist/math-hmtx.cjs +17 -0
- package/dist/math-hmtx.d.cts +8 -0
- package/dist/math-hmtx.d.ts +8 -0
- package/dist/math-hmtx.js +16 -0
- package/dist/math-table.cjs +117 -0
- package/dist/math-table.d.cts +45 -0
- package/dist/math-table.d.ts +45 -0
- package/dist/math-table.js +116 -0
- package/dist/math-types-Ba8qAf1p.d.cts +82 -0
- package/dist/math-types-Ba8qAf1p.d.ts +82 -0
- package/dist/math-types.cjs +0 -0
- package/dist/math-types.d.cts +2 -0
- package/dist/math-types.d.ts +2 -0
- package/dist/math-types.js +0 -0
- package/dist/matrix-B3c2_a2f.d.cts +18 -0
- package/dist/matrix-B3c2_a2f.d.ts +18 -0
- package/dist/matrix.cjs +93 -0
- package/dist/matrix.d.cts +2 -0
- package/dist/matrix.d.ts +2 -0
- package/dist/matrix.js +83 -0
- package/dist/measure.cjs +54 -0
- package/dist/measure.d.cts +20 -0
- package/dist/measure.d.ts +20 -0
- package/dist/measure.js +53 -0
- package/dist/objects.cjs +100 -0
- package/dist/objects.d.cts +58 -0
- package/dist/objects.d.ts +58 -0
- package/dist/objects.js +84 -0
- package/dist/parse.cjs +230 -0
- package/dist/parse.d.cts +13 -0
- package/dist/parse.d.ts +13 -0
- package/dist/parse.js +228 -0
- package/dist/predictors.cjs +64 -0
- package/dist/predictors.d.cts +13 -0
- package/dist/predictors.d.ts +13 -0
- package/dist/predictors.js +62 -0
- package/dist/read.cjs +418 -0
- package/dist/read.d.cts +21 -0
- package/dist/read.d.ts +21 -0
- package/dist/read.js +413 -0
- package/dist/serialize.cjs +69 -0
- package/dist/serialize.d.cts +8 -0
- package/dist/serialize.d.ts +8 -0
- package/dist/serialize.js +66 -0
- package/dist/sfnt.cjs +52 -0
- package/dist/sfnt.d.cts +17 -0
- package/dist/sfnt.d.ts +17 -0
- package/dist/sfnt.js +46 -0
- package/dist/text-layout.cjs +224 -0
- package/dist/text-layout.d.cts +37 -0
- package/dist/text-layout.d.ts +37 -0
- package/dist/text-layout.js +222 -0
- package/dist/util/abort.cjs +7 -0
- package/dist/util/abort.d.cts +4 -0
- package/dist/util/abort.d.ts +4 -0
- package/dist/util/abort.js +6 -0
- package/dist/util/base64.cjs +48 -0
- package/dist/util/base64.d.cts +5 -0
- package/dist/util/base64.d.ts +5 -0
- package/dist/util/base64.js +46 -0
- package/dist/winansi.cjs +5 -0
- package/dist/winansi.d.cts +20 -0
- package/dist/winansi.d.ts +20 -0
- package/dist/winansi.js +2 -0
- package/dist/write.cjs +421 -0
- package/dist/write.d.cts +16 -0
- package/dist/write.d.ts +16 -0
- package/dist/write.js +419 -0
- package/dist/xref.cjs +325 -0
- package/dist/xref.d.cts +21 -0
- package/dist/xref.d.ts +21 -0
- package/dist/xref.js +324 -0
- package/package.json +9 -1
|
@@ -0,0 +1,826 @@
|
|
|
1
|
+
//#region src/winansi.ts
|
|
2
|
+
const UNICODE_TO_WINANSI = /* @__PURE__ */ new Map([
|
|
3
|
+
[32, 32],
|
|
4
|
+
[33, 33],
|
|
5
|
+
[34, 34],
|
|
6
|
+
[35, 35],
|
|
7
|
+
[36, 36],
|
|
8
|
+
[37, 37],
|
|
9
|
+
[38, 38],
|
|
10
|
+
[39, 39],
|
|
11
|
+
[40, 40],
|
|
12
|
+
[41, 41],
|
|
13
|
+
[42, 42],
|
|
14
|
+
[43, 43],
|
|
15
|
+
[44, 44],
|
|
16
|
+
[45, 45],
|
|
17
|
+
[46, 46],
|
|
18
|
+
[47, 47],
|
|
19
|
+
[48, 48],
|
|
20
|
+
[49, 49],
|
|
21
|
+
[50, 50],
|
|
22
|
+
[51, 51],
|
|
23
|
+
[52, 52],
|
|
24
|
+
[53, 53],
|
|
25
|
+
[54, 54],
|
|
26
|
+
[55, 55],
|
|
27
|
+
[56, 56],
|
|
28
|
+
[57, 57],
|
|
29
|
+
[58, 58],
|
|
30
|
+
[59, 59],
|
|
31
|
+
[60, 60],
|
|
32
|
+
[61, 61],
|
|
33
|
+
[62, 62],
|
|
34
|
+
[63, 63],
|
|
35
|
+
[64, 64],
|
|
36
|
+
[65, 65],
|
|
37
|
+
[66, 66],
|
|
38
|
+
[67, 67],
|
|
39
|
+
[68, 68],
|
|
40
|
+
[69, 69],
|
|
41
|
+
[70, 70],
|
|
42
|
+
[71, 71],
|
|
43
|
+
[72, 72],
|
|
44
|
+
[73, 73],
|
|
45
|
+
[74, 74],
|
|
46
|
+
[75, 75],
|
|
47
|
+
[76, 76],
|
|
48
|
+
[77, 77],
|
|
49
|
+
[78, 78],
|
|
50
|
+
[79, 79],
|
|
51
|
+
[80, 80],
|
|
52
|
+
[81, 81],
|
|
53
|
+
[82, 82],
|
|
54
|
+
[83, 83],
|
|
55
|
+
[84, 84],
|
|
56
|
+
[85, 85],
|
|
57
|
+
[86, 86],
|
|
58
|
+
[87, 87],
|
|
59
|
+
[88, 88],
|
|
60
|
+
[89, 89],
|
|
61
|
+
[90, 90],
|
|
62
|
+
[91, 91],
|
|
63
|
+
[92, 92],
|
|
64
|
+
[93, 93],
|
|
65
|
+
[94, 94],
|
|
66
|
+
[95, 95],
|
|
67
|
+
[96, 96],
|
|
68
|
+
[97, 97],
|
|
69
|
+
[98, 98],
|
|
70
|
+
[99, 99],
|
|
71
|
+
[100, 100],
|
|
72
|
+
[101, 101],
|
|
73
|
+
[102, 102],
|
|
74
|
+
[103, 103],
|
|
75
|
+
[104, 104],
|
|
76
|
+
[105, 105],
|
|
77
|
+
[106, 106],
|
|
78
|
+
[107, 107],
|
|
79
|
+
[108, 108],
|
|
80
|
+
[109, 109],
|
|
81
|
+
[110, 110],
|
|
82
|
+
[111, 111],
|
|
83
|
+
[112, 112],
|
|
84
|
+
[113, 113],
|
|
85
|
+
[114, 114],
|
|
86
|
+
[115, 115],
|
|
87
|
+
[116, 116],
|
|
88
|
+
[117, 117],
|
|
89
|
+
[118, 118],
|
|
90
|
+
[119, 119],
|
|
91
|
+
[120, 120],
|
|
92
|
+
[121, 121],
|
|
93
|
+
[122, 122],
|
|
94
|
+
[123, 123],
|
|
95
|
+
[124, 124],
|
|
96
|
+
[125, 125],
|
|
97
|
+
[126, 126],
|
|
98
|
+
[127, 127],
|
|
99
|
+
[160, 160],
|
|
100
|
+
[161, 161],
|
|
101
|
+
[162, 162],
|
|
102
|
+
[163, 163],
|
|
103
|
+
[164, 164],
|
|
104
|
+
[165, 165],
|
|
105
|
+
[166, 166],
|
|
106
|
+
[167, 167],
|
|
107
|
+
[168, 168],
|
|
108
|
+
[169, 169],
|
|
109
|
+
[170, 170],
|
|
110
|
+
[171, 171],
|
|
111
|
+
[172, 172],
|
|
112
|
+
[173, 173],
|
|
113
|
+
[174, 174],
|
|
114
|
+
[175, 175],
|
|
115
|
+
[176, 176],
|
|
116
|
+
[177, 177],
|
|
117
|
+
[178, 178],
|
|
118
|
+
[179, 179],
|
|
119
|
+
[180, 180],
|
|
120
|
+
[181, 181],
|
|
121
|
+
[182, 182],
|
|
122
|
+
[183, 183],
|
|
123
|
+
[184, 184],
|
|
124
|
+
[185, 185],
|
|
125
|
+
[186, 186],
|
|
126
|
+
[187, 187],
|
|
127
|
+
[188, 188],
|
|
128
|
+
[189, 189],
|
|
129
|
+
[190, 190],
|
|
130
|
+
[191, 191],
|
|
131
|
+
[192, 192],
|
|
132
|
+
[193, 193],
|
|
133
|
+
[194, 194],
|
|
134
|
+
[195, 195],
|
|
135
|
+
[196, 196],
|
|
136
|
+
[197, 197],
|
|
137
|
+
[198, 198],
|
|
138
|
+
[199, 199],
|
|
139
|
+
[200, 200],
|
|
140
|
+
[201, 201],
|
|
141
|
+
[202, 202],
|
|
142
|
+
[203, 203],
|
|
143
|
+
[204, 204],
|
|
144
|
+
[205, 205],
|
|
145
|
+
[206, 206],
|
|
146
|
+
[207, 207],
|
|
147
|
+
[208, 208],
|
|
148
|
+
[209, 209],
|
|
149
|
+
[210, 210],
|
|
150
|
+
[211, 211],
|
|
151
|
+
[212, 212],
|
|
152
|
+
[213, 213],
|
|
153
|
+
[214, 214],
|
|
154
|
+
[215, 215],
|
|
155
|
+
[216, 216],
|
|
156
|
+
[217, 217],
|
|
157
|
+
[218, 218],
|
|
158
|
+
[219, 219],
|
|
159
|
+
[220, 220],
|
|
160
|
+
[221, 221],
|
|
161
|
+
[222, 222],
|
|
162
|
+
[223, 223],
|
|
163
|
+
[224, 224],
|
|
164
|
+
[225, 225],
|
|
165
|
+
[226, 226],
|
|
166
|
+
[227, 227],
|
|
167
|
+
[228, 228],
|
|
168
|
+
[229, 229],
|
|
169
|
+
[230, 230],
|
|
170
|
+
[231, 231],
|
|
171
|
+
[232, 232],
|
|
172
|
+
[233, 233],
|
|
173
|
+
[234, 234],
|
|
174
|
+
[235, 235],
|
|
175
|
+
[236, 236],
|
|
176
|
+
[237, 237],
|
|
177
|
+
[238, 238],
|
|
178
|
+
[239, 239],
|
|
179
|
+
[240, 240],
|
|
180
|
+
[241, 241],
|
|
181
|
+
[242, 242],
|
|
182
|
+
[243, 243],
|
|
183
|
+
[244, 244],
|
|
184
|
+
[245, 245],
|
|
185
|
+
[246, 246],
|
|
186
|
+
[247, 247],
|
|
187
|
+
[248, 248],
|
|
188
|
+
[249, 249],
|
|
189
|
+
[250, 250],
|
|
190
|
+
[251, 251],
|
|
191
|
+
[252, 252],
|
|
192
|
+
[253, 253],
|
|
193
|
+
[254, 254],
|
|
194
|
+
[255, 255],
|
|
195
|
+
[338, 140],
|
|
196
|
+
[339, 156],
|
|
197
|
+
[352, 138],
|
|
198
|
+
[353, 154],
|
|
199
|
+
[376, 159],
|
|
200
|
+
[381, 142],
|
|
201
|
+
[382, 158],
|
|
202
|
+
[402, 131],
|
|
203
|
+
[710, 136],
|
|
204
|
+
[732, 152],
|
|
205
|
+
[8211, 150],
|
|
206
|
+
[8212, 151],
|
|
207
|
+
[8216, 145],
|
|
208
|
+
[8217, 146],
|
|
209
|
+
[8218, 130],
|
|
210
|
+
[8220, 147],
|
|
211
|
+
[8221, 148],
|
|
212
|
+
[8222, 132],
|
|
213
|
+
[8224, 134],
|
|
214
|
+
[8225, 135],
|
|
215
|
+
[8226, 149],
|
|
216
|
+
[8230, 133],
|
|
217
|
+
[8240, 137],
|
|
218
|
+
[8249, 139],
|
|
219
|
+
[8250, 155],
|
|
220
|
+
[8364, 128],
|
|
221
|
+
[8482, 153]
|
|
222
|
+
]);
|
|
223
|
+
let winAnsiCodeToUnicodeTable;
|
|
224
|
+
function winAnsiCodeToUnicode(code) {
|
|
225
|
+
if (winAnsiCodeToUnicodeTable === void 0) {
|
|
226
|
+
const inverted = /* @__PURE__ */ new Map();
|
|
227
|
+
for (const [unicode, winAnsiCode] of UNICODE_TO_WINANSI) inverted.set(winAnsiCode, unicode);
|
|
228
|
+
winAnsiCodeToUnicodeTable = inverted;
|
|
229
|
+
}
|
|
230
|
+
return winAnsiCodeToUnicodeTable.get(code);
|
|
231
|
+
}
|
|
232
|
+
const FALLBACK_BYTE = 63;
|
|
233
|
+
const FALLBACK_CHAR = "?";
|
|
234
|
+
function sanitizeToWinAnsi(text) {
|
|
235
|
+
const codes = [];
|
|
236
|
+
const substitutions = [];
|
|
237
|
+
for (const ch of text) {
|
|
238
|
+
const codePoint = ch.codePointAt(0);
|
|
239
|
+
const code = codePoint === void 0 ? void 0 : UNICODE_TO_WINANSI.get(codePoint);
|
|
240
|
+
if (code !== void 0) {
|
|
241
|
+
codes.push(code);
|
|
242
|
+
continue;
|
|
243
|
+
}
|
|
244
|
+
codes.push(FALLBACK_BYTE);
|
|
245
|
+
substitutions.push({
|
|
246
|
+
from: ch,
|
|
247
|
+
to: FALLBACK_CHAR
|
|
248
|
+
});
|
|
249
|
+
}
|
|
250
|
+
return {
|
|
251
|
+
codes: new Uint8Array(codes),
|
|
252
|
+
substitutions
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
function encodeForShow(text, font) {
|
|
256
|
+
const { codes, substitutions } = sanitizeToWinAnsi(text);
|
|
257
|
+
let width1000 = 0;
|
|
258
|
+
for (const code of codes) width1000 += widthOfCode(font, code);
|
|
259
|
+
return {
|
|
260
|
+
codes,
|
|
261
|
+
width1000,
|
|
262
|
+
substitutions
|
|
263
|
+
};
|
|
264
|
+
}
|
|
265
|
+
//#endregion
|
|
266
|
+
//#region src/encoding.ts
|
|
267
|
+
const WINANSI_GLYPH_NAMES = [
|
|
268
|
+
"",
|
|
269
|
+
"",
|
|
270
|
+
"",
|
|
271
|
+
"",
|
|
272
|
+
"",
|
|
273
|
+
"",
|
|
274
|
+
"",
|
|
275
|
+
"",
|
|
276
|
+
"",
|
|
277
|
+
"",
|
|
278
|
+
"",
|
|
279
|
+
"",
|
|
280
|
+
"",
|
|
281
|
+
"",
|
|
282
|
+
"",
|
|
283
|
+
"",
|
|
284
|
+
"",
|
|
285
|
+
"",
|
|
286
|
+
"",
|
|
287
|
+
"",
|
|
288
|
+
"",
|
|
289
|
+
"",
|
|
290
|
+
"",
|
|
291
|
+
"",
|
|
292
|
+
"",
|
|
293
|
+
"",
|
|
294
|
+
"",
|
|
295
|
+
"",
|
|
296
|
+
"",
|
|
297
|
+
"",
|
|
298
|
+
"",
|
|
299
|
+
"",
|
|
300
|
+
"space",
|
|
301
|
+
"exclam",
|
|
302
|
+
"quotedbl",
|
|
303
|
+
"numbersign",
|
|
304
|
+
"dollar",
|
|
305
|
+
"percent",
|
|
306
|
+
"ampersand",
|
|
307
|
+
"quotesingle",
|
|
308
|
+
"parenleft",
|
|
309
|
+
"parenright",
|
|
310
|
+
"asterisk",
|
|
311
|
+
"plus",
|
|
312
|
+
"comma",
|
|
313
|
+
"hyphen",
|
|
314
|
+
"period",
|
|
315
|
+
"slash",
|
|
316
|
+
"zero",
|
|
317
|
+
"one",
|
|
318
|
+
"two",
|
|
319
|
+
"three",
|
|
320
|
+
"four",
|
|
321
|
+
"five",
|
|
322
|
+
"six",
|
|
323
|
+
"seven",
|
|
324
|
+
"eight",
|
|
325
|
+
"nine",
|
|
326
|
+
"colon",
|
|
327
|
+
"semicolon",
|
|
328
|
+
"less",
|
|
329
|
+
"equal",
|
|
330
|
+
"greater",
|
|
331
|
+
"question",
|
|
332
|
+
"at",
|
|
333
|
+
"A",
|
|
334
|
+
"B",
|
|
335
|
+
"C",
|
|
336
|
+
"D",
|
|
337
|
+
"E",
|
|
338
|
+
"F",
|
|
339
|
+
"G",
|
|
340
|
+
"H",
|
|
341
|
+
"I",
|
|
342
|
+
"J",
|
|
343
|
+
"K",
|
|
344
|
+
"L",
|
|
345
|
+
"M",
|
|
346
|
+
"N",
|
|
347
|
+
"O",
|
|
348
|
+
"P",
|
|
349
|
+
"Q",
|
|
350
|
+
"R",
|
|
351
|
+
"S",
|
|
352
|
+
"T",
|
|
353
|
+
"U",
|
|
354
|
+
"V",
|
|
355
|
+
"W",
|
|
356
|
+
"X",
|
|
357
|
+
"Y",
|
|
358
|
+
"Z",
|
|
359
|
+
"bracketleft",
|
|
360
|
+
"backslash",
|
|
361
|
+
"bracketright",
|
|
362
|
+
"asciicircum",
|
|
363
|
+
"underscore",
|
|
364
|
+
"grave",
|
|
365
|
+
"a",
|
|
366
|
+
"b",
|
|
367
|
+
"c",
|
|
368
|
+
"d",
|
|
369
|
+
"e",
|
|
370
|
+
"f",
|
|
371
|
+
"g",
|
|
372
|
+
"h",
|
|
373
|
+
"i",
|
|
374
|
+
"j",
|
|
375
|
+
"k",
|
|
376
|
+
"l",
|
|
377
|
+
"m",
|
|
378
|
+
"n",
|
|
379
|
+
"o",
|
|
380
|
+
"p",
|
|
381
|
+
"q",
|
|
382
|
+
"r",
|
|
383
|
+
"s",
|
|
384
|
+
"t",
|
|
385
|
+
"u",
|
|
386
|
+
"v",
|
|
387
|
+
"w",
|
|
388
|
+
"x",
|
|
389
|
+
"y",
|
|
390
|
+
"z",
|
|
391
|
+
"braceleft",
|
|
392
|
+
"bar",
|
|
393
|
+
"braceright",
|
|
394
|
+
"asciitilde",
|
|
395
|
+
"bullet",
|
|
396
|
+
"Euro",
|
|
397
|
+
"bullet",
|
|
398
|
+
"quotesinglbase",
|
|
399
|
+
"florin",
|
|
400
|
+
"quotedblbase",
|
|
401
|
+
"ellipsis",
|
|
402
|
+
"dagger",
|
|
403
|
+
"daggerdbl",
|
|
404
|
+
"circumflex",
|
|
405
|
+
"perthousand",
|
|
406
|
+
"Scaron",
|
|
407
|
+
"guilsinglleft",
|
|
408
|
+
"OE",
|
|
409
|
+
"bullet",
|
|
410
|
+
"Zcaron",
|
|
411
|
+
"bullet",
|
|
412
|
+
"bullet",
|
|
413
|
+
"quoteleft",
|
|
414
|
+
"quoteright",
|
|
415
|
+
"quotedblleft",
|
|
416
|
+
"quotedblright",
|
|
417
|
+
"bullet",
|
|
418
|
+
"endash",
|
|
419
|
+
"emdash",
|
|
420
|
+
"tilde",
|
|
421
|
+
"trademark",
|
|
422
|
+
"scaron",
|
|
423
|
+
"guilsinglright",
|
|
424
|
+
"oe",
|
|
425
|
+
"bullet",
|
|
426
|
+
"zcaron",
|
|
427
|
+
"Ydieresis",
|
|
428
|
+
"space",
|
|
429
|
+
"exclamdown",
|
|
430
|
+
"cent",
|
|
431
|
+
"sterling",
|
|
432
|
+
"currency",
|
|
433
|
+
"yen",
|
|
434
|
+
"brokenbar",
|
|
435
|
+
"section",
|
|
436
|
+
"dieresis",
|
|
437
|
+
"copyright",
|
|
438
|
+
"ordfeminine",
|
|
439
|
+
"guillemotleft",
|
|
440
|
+
"logicalnot",
|
|
441
|
+
"hyphen",
|
|
442
|
+
"registered",
|
|
443
|
+
"macron",
|
|
444
|
+
"degree",
|
|
445
|
+
"plusminus",
|
|
446
|
+
"twosuperior",
|
|
447
|
+
"threesuperior",
|
|
448
|
+
"acute",
|
|
449
|
+
"mu",
|
|
450
|
+
"paragraph",
|
|
451
|
+
"periodcentered",
|
|
452
|
+
"cedilla",
|
|
453
|
+
"onesuperior",
|
|
454
|
+
"ordmasculine",
|
|
455
|
+
"guillemotright",
|
|
456
|
+
"onequarter",
|
|
457
|
+
"onehalf",
|
|
458
|
+
"threequarters",
|
|
459
|
+
"questiondown",
|
|
460
|
+
"Agrave",
|
|
461
|
+
"Aacute",
|
|
462
|
+
"Acircumflex",
|
|
463
|
+
"Atilde",
|
|
464
|
+
"Adieresis",
|
|
465
|
+
"Aring",
|
|
466
|
+
"AE",
|
|
467
|
+
"Ccedilla",
|
|
468
|
+
"Egrave",
|
|
469
|
+
"Eacute",
|
|
470
|
+
"Ecircumflex",
|
|
471
|
+
"Edieresis",
|
|
472
|
+
"Igrave",
|
|
473
|
+
"Iacute",
|
|
474
|
+
"Icircumflex",
|
|
475
|
+
"Idieresis",
|
|
476
|
+
"Eth",
|
|
477
|
+
"Ntilde",
|
|
478
|
+
"Ograve",
|
|
479
|
+
"Oacute",
|
|
480
|
+
"Ocircumflex",
|
|
481
|
+
"Otilde",
|
|
482
|
+
"Odieresis",
|
|
483
|
+
"multiply",
|
|
484
|
+
"Oslash",
|
|
485
|
+
"Ugrave",
|
|
486
|
+
"Uacute",
|
|
487
|
+
"Ucircumflex",
|
|
488
|
+
"Udieresis",
|
|
489
|
+
"Yacute",
|
|
490
|
+
"Thorn",
|
|
491
|
+
"germandbls",
|
|
492
|
+
"agrave",
|
|
493
|
+
"aacute",
|
|
494
|
+
"acircumflex",
|
|
495
|
+
"atilde",
|
|
496
|
+
"adieresis",
|
|
497
|
+
"aring",
|
|
498
|
+
"ae",
|
|
499
|
+
"ccedilla",
|
|
500
|
+
"egrave",
|
|
501
|
+
"eacute",
|
|
502
|
+
"ecircumflex",
|
|
503
|
+
"edieresis",
|
|
504
|
+
"igrave",
|
|
505
|
+
"iacute",
|
|
506
|
+
"icircumflex",
|
|
507
|
+
"idieresis",
|
|
508
|
+
"eth",
|
|
509
|
+
"ntilde",
|
|
510
|
+
"ograve",
|
|
511
|
+
"oacute",
|
|
512
|
+
"ocircumflex",
|
|
513
|
+
"otilde",
|
|
514
|
+
"odieresis",
|
|
515
|
+
"divide",
|
|
516
|
+
"oslash",
|
|
517
|
+
"ugrave",
|
|
518
|
+
"uacute",
|
|
519
|
+
"ucircumflex",
|
|
520
|
+
"udieresis",
|
|
521
|
+
"yacute",
|
|
522
|
+
"thorn",
|
|
523
|
+
"ydieresis"
|
|
524
|
+
];
|
|
525
|
+
function winAnsiGlyphName(code) {
|
|
526
|
+
const name = WINANSI_GLYPH_NAMES[code];
|
|
527
|
+
return name === void 0 || name === "" ? void 0 : name;
|
|
528
|
+
}
|
|
529
|
+
let glyphNameToUnicodeTable;
|
|
530
|
+
const NON_GLYPH_CODES = /* @__PURE__ */ new Set([127]);
|
|
531
|
+
function glyphNameToUnicode(name) {
|
|
532
|
+
if (glyphNameToUnicodeTable === void 0) {
|
|
533
|
+
const table = /* @__PURE__ */ new Map();
|
|
534
|
+
for (let code = 0; code < WINANSI_GLYPH_NAMES.length; code++) {
|
|
535
|
+
if (NON_GLYPH_CODES.has(code)) continue;
|
|
536
|
+
const glyphName = WINANSI_GLYPH_NAMES[code];
|
|
537
|
+
if (glyphName === void 0 || glyphName === "") continue;
|
|
538
|
+
if (table.has(glyphName)) continue;
|
|
539
|
+
const unicode = winAnsiCodeToUnicode(code);
|
|
540
|
+
if (unicode !== void 0) table.set(glyphName, unicode);
|
|
541
|
+
}
|
|
542
|
+
glyphNameToUnicodeTable = table;
|
|
543
|
+
}
|
|
544
|
+
return glyphNameToUnicodeTable.get(name);
|
|
545
|
+
}
|
|
546
|
+
//#endregion
|
|
547
|
+
//#region src/afm-widths.ts
|
|
548
|
+
function parseWidths(source) {
|
|
549
|
+
const map = /* @__PURE__ */ new Map();
|
|
550
|
+
const tokens = source.split(" ");
|
|
551
|
+
for (let i = 0; i + 1 < tokens.length; i += 2) {
|
|
552
|
+
const name = tokens[i];
|
|
553
|
+
const width = tokens[i + 1];
|
|
554
|
+
if (name === void 0 || width === void 0) continue;
|
|
555
|
+
map.set(name, Number.parseInt(width, 10));
|
|
556
|
+
}
|
|
557
|
+
return map;
|
|
558
|
+
}
|
|
559
|
+
const STANDARD_METRICS = {
|
|
560
|
+
"Helvetica": {
|
|
561
|
+
ascender: 718,
|
|
562
|
+
descender: -207,
|
|
563
|
+
capHeight: 718,
|
|
564
|
+
xHeight: 523,
|
|
565
|
+
italicAngle: 0,
|
|
566
|
+
fontBBox: [
|
|
567
|
+
-166,
|
|
568
|
+
-225,
|
|
569
|
+
1e3,
|
|
570
|
+
931
|
|
571
|
+
],
|
|
572
|
+
underlinePosition: -100,
|
|
573
|
+
underlineThickness: 50,
|
|
574
|
+
lineHeightEm: 1.15,
|
|
575
|
+
widths: parseWidths("space 278 exclam 278 quotedbl 355 numbersign 556 dollar 556 percent 889 ampersand 667 quoteright 222 parenleft 333 parenright 333 asterisk 389 plus 584 comma 278 hyphen 333 period 278 slash 278 zero 556 one 556 two 556 three 556 four 556 five 556 six 556 seven 556 eight 556 nine 556 colon 278 semicolon 278 less 584 equal 584 greater 584 question 556 at 1015 A 667 B 667 C 722 D 722 E 667 F 611 G 778 H 722 I 278 J 500 K 667 L 556 M 833 N 722 O 778 P 667 Q 778 R 722 S 667 T 611 U 722 V 667 W 944 X 667 Y 667 Z 611 bracketleft 278 backslash 278 bracketright 278 asciicircum 469 underscore 556 quoteleft 222 a 556 b 556 c 500 d 556 e 556 f 278 g 556 h 556 i 222 j 222 k 500 l 222 m 833 n 556 o 556 p 556 q 556 r 333 s 500 t 278 u 556 v 500 w 722 x 500 y 500 z 500 braceleft 334 bar 260 braceright 334 asciitilde 584 exclamdown 333 cent 556 sterling 556 fraction 167 yen 556 florin 556 section 556 currency 556 quotesingle 191 quotedblleft 333 guillemotleft 556 guilsinglleft 333 guilsinglright 333 fi 500 fl 500 endash 556 dagger 556 daggerdbl 556 periodcentered 278 paragraph 537 bullet 350 quotesinglbase 222 quotedblbase 333 quotedblright 333 guillemotright 556 ellipsis 1000 perthousand 1000 questiondown 611 grave 333 acute 333 circumflex 333 tilde 333 macron 333 breve 333 dotaccent 333 dieresis 333 ring 333 cedilla 333 hungarumlaut 333 ogonek 333 caron 333 emdash 1000 AE 1000 ordfeminine 370 Lslash 556 Oslash 778 OE 1000 ordmasculine 365 ae 889 dotlessi 278 lslash 222 oslash 611 oe 944 germandbls 611 Idieresis 278 eacute 556 abreve 556 uhungarumlaut 556 ecaron 556 Ydieresis 667 divide 584 Yacute 667 Acircumflex 667 aacute 556 Ucircumflex 722 yacute 500 scommaaccent 500 ecircumflex 556 Uring 722 Udieresis 722 aogonek 556 Uacute 722 uogonek 556 Edieresis 667 Dcroat 722 commaaccent 250 copyright 737 Emacron 667 ccaron 500 aring 556 Ncommaaccent 722 lacute 222 agrave 556 Tcommaaccent 611 Cacute 722 atilde 556 Edotaccent 667 scaron 500 scedilla 500 iacute 278 lozenge 471 Rcaron 722 Gcommaaccent 778 ucircumflex 556 acircumflex 556 Amacron 667 rcaron 333 ccedilla 500 Zdotaccent 611 Thorn 667 Omacron 778 Racute 722 Sacute 667 dcaron 643 Umacron 722 uring 556 threesuperior 333 Ograve 778 Agrave 667 Abreve 667 multiply 584 uacute 556 Tcaron 611 partialdiff 476 ydieresis 500 Nacute 722 icircumflex 278 Ecircumflex 667 adieresis 556 edieresis 556 cacute 500 nacute 556 umacron 556 Ncaron 722 Iacute 278 plusminus 584 brokenbar 260 registered 737 Gbreve 778 Idotaccent 278 summation 600 Egrave 667 racute 333 omacron 556 Zacute 611 Zcaron 611 greaterequal 549 Eth 722 Ccedilla 722 lcommaaccent 222 tcaron 317 eogonek 556 Uogonek 722 Aacute 667 Adieresis 667 egrave 556 zacute 500 iogonek 222 Oacute 778 oacute 556 amacron 556 sacute 500 idieresis 278 Ocircumflex 778 Ugrave 722 Delta 612 thorn 556 twosuperior 333 Odieresis 778 mu 556 igrave 278 ohungarumlaut 556 Eogonek 667 dcroat 556 threequarters 834 Scedilla 667 lcaron 299 Kcommaaccent 667 Lacute 556 trademark 1000 edotaccent 556 Igrave 278 Imacron 278 Lcaron 556 onehalf 834 lessequal 549 ocircumflex 556 ntilde 556 Uhungarumlaut 722 Eacute 667 emacron 556 gbreve 556 onequarter 834 Scaron 667 Scommaaccent 667 Ohungarumlaut 778 degree 400 ograve 556 Ccaron 722 ugrave 556 radical 453 Dcaron 722 rcommaaccent 333 Ntilde 722 otilde 556 Rcommaaccent 722 Lcommaaccent 556 Atilde 667 Aogonek 667 Aring 667 Otilde 778 zdotaccent 500 Ecaron 667 Iogonek 278 kcommaaccent 500 minus 584 Icircumflex 278 ncaron 556 tcommaaccent 278 logicalnot 584 odieresis 556 udieresis 556 notequal 549 gcommaaccent 556 eth 556 zcaron 500 ncommaaccent 556 onesuperior 333 imacron 278 Euro 556")
|
|
576
|
+
},
|
|
577
|
+
"Helvetica-Bold": {
|
|
578
|
+
ascender: 718,
|
|
579
|
+
descender: -207,
|
|
580
|
+
capHeight: 718,
|
|
581
|
+
xHeight: 532,
|
|
582
|
+
italicAngle: 0,
|
|
583
|
+
fontBBox: [
|
|
584
|
+
-170,
|
|
585
|
+
-228,
|
|
586
|
+
1003,
|
|
587
|
+
962
|
|
588
|
+
],
|
|
589
|
+
underlinePosition: -100,
|
|
590
|
+
underlineThickness: 50,
|
|
591
|
+
lineHeightEm: 1.15,
|
|
592
|
+
widths: parseWidths("space 278 exclam 333 quotedbl 474 numbersign 556 dollar 556 percent 889 ampersand 722 quoteright 278 parenleft 333 parenright 333 asterisk 389 plus 584 comma 278 hyphen 333 period 278 slash 278 zero 556 one 556 two 556 three 556 four 556 five 556 six 556 seven 556 eight 556 nine 556 colon 333 semicolon 333 less 584 equal 584 greater 584 question 611 at 975 A 722 B 722 C 722 D 722 E 667 F 611 G 778 H 722 I 278 J 556 K 722 L 611 M 833 N 722 O 778 P 667 Q 778 R 722 S 667 T 611 U 722 V 667 W 944 X 667 Y 667 Z 611 bracketleft 333 backslash 278 bracketright 333 asciicircum 584 underscore 556 quoteleft 278 a 556 b 611 c 556 d 611 e 556 f 333 g 611 h 611 i 278 j 278 k 556 l 278 m 889 n 611 o 611 p 611 q 611 r 389 s 556 t 333 u 611 v 556 w 778 x 556 y 556 z 500 braceleft 389 bar 280 braceright 389 asciitilde 584 exclamdown 333 cent 556 sterling 556 fraction 167 yen 556 florin 556 section 556 currency 556 quotesingle 238 quotedblleft 500 guillemotleft 556 guilsinglleft 333 guilsinglright 333 fi 611 fl 611 endash 556 dagger 556 daggerdbl 556 periodcentered 278 paragraph 556 bullet 350 quotesinglbase 278 quotedblbase 500 quotedblright 500 guillemotright 556 ellipsis 1000 perthousand 1000 questiondown 611 grave 333 acute 333 circumflex 333 tilde 333 macron 333 breve 333 dotaccent 333 dieresis 333 ring 333 cedilla 333 hungarumlaut 333 ogonek 333 caron 333 emdash 1000 AE 1000 ordfeminine 370 Lslash 611 Oslash 778 OE 1000 ordmasculine 365 ae 889 dotlessi 278 lslash 278 oslash 611 oe 944 germandbls 611 Idieresis 278 eacute 556 abreve 556 uhungarumlaut 611 ecaron 556 Ydieresis 667 divide 584 Yacute 667 Acircumflex 722 aacute 556 Ucircumflex 722 yacute 556 scommaaccent 556 ecircumflex 556 Uring 722 Udieresis 722 aogonek 556 Uacute 722 uogonek 611 Edieresis 667 Dcroat 722 commaaccent 250 copyright 737 Emacron 667 ccaron 556 aring 556 Ncommaaccent 722 lacute 278 agrave 556 Tcommaaccent 611 Cacute 722 atilde 556 Edotaccent 667 scaron 556 scedilla 556 iacute 278 lozenge 494 Rcaron 722 Gcommaaccent 778 ucircumflex 611 acircumflex 556 Amacron 722 rcaron 389 ccedilla 556 Zdotaccent 611 Thorn 667 Omacron 778 Racute 722 Sacute 667 dcaron 743 Umacron 722 uring 611 threesuperior 333 Ograve 778 Agrave 722 Abreve 722 multiply 584 uacute 611 Tcaron 611 partialdiff 494 ydieresis 556 Nacute 722 icircumflex 278 Ecircumflex 667 adieresis 556 edieresis 556 cacute 556 nacute 611 umacron 611 Ncaron 722 Iacute 278 plusminus 584 brokenbar 280 registered 737 Gbreve 778 Idotaccent 278 summation 600 Egrave 667 racute 389 omacron 611 Zacute 611 Zcaron 611 greaterequal 549 Eth 722 Ccedilla 722 lcommaaccent 278 tcaron 389 eogonek 556 Uogonek 722 Aacute 722 Adieresis 722 egrave 556 zacute 500 iogonek 278 Oacute 778 oacute 611 amacron 556 sacute 556 idieresis 278 Ocircumflex 778 Ugrave 722 Delta 612 thorn 611 twosuperior 333 Odieresis 778 mu 611 igrave 278 ohungarumlaut 611 Eogonek 667 dcroat 611 threequarters 834 Scedilla 667 lcaron 400 Kcommaaccent 722 Lacute 611 trademark 1000 edotaccent 556 Igrave 278 Imacron 278 Lcaron 611 onehalf 834 lessequal 549 ocircumflex 611 ntilde 611 Uhungarumlaut 722 Eacute 667 emacron 556 gbreve 611 onequarter 834 Scaron 667 Scommaaccent 667 Ohungarumlaut 778 degree 400 ograve 611 Ccaron 722 ugrave 611 radical 549 Dcaron 722 rcommaaccent 389 Ntilde 722 otilde 611 Rcommaaccent 722 Lcommaaccent 611 Atilde 722 Aogonek 722 Aring 722 Otilde 778 zdotaccent 500 Ecaron 667 Iogonek 278 kcommaaccent 556 minus 584 Icircumflex 278 ncaron 611 tcommaaccent 333 logicalnot 584 odieresis 611 udieresis 611 notequal 549 gcommaaccent 611 eth 611 zcaron 500 ncommaaccent 611 onesuperior 333 imacron 278 Euro 556")
|
|
593
|
+
},
|
|
594
|
+
"Helvetica-Oblique": {
|
|
595
|
+
ascender: 718,
|
|
596
|
+
descender: -207,
|
|
597
|
+
capHeight: 718,
|
|
598
|
+
xHeight: 523,
|
|
599
|
+
italicAngle: -12,
|
|
600
|
+
fontBBox: [
|
|
601
|
+
-170,
|
|
602
|
+
-225,
|
|
603
|
+
1116,
|
|
604
|
+
931
|
|
605
|
+
],
|
|
606
|
+
underlinePosition: -100,
|
|
607
|
+
underlineThickness: 50,
|
|
608
|
+
lineHeightEm: 1.15,
|
|
609
|
+
widths: parseWidths("space 278 exclam 278 quotedbl 355 numbersign 556 dollar 556 percent 889 ampersand 667 quoteright 222 parenleft 333 parenright 333 asterisk 389 plus 584 comma 278 hyphen 333 period 278 slash 278 zero 556 one 556 two 556 three 556 four 556 five 556 six 556 seven 556 eight 556 nine 556 colon 278 semicolon 278 less 584 equal 584 greater 584 question 556 at 1015 A 667 B 667 C 722 D 722 E 667 F 611 G 778 H 722 I 278 J 500 K 667 L 556 M 833 N 722 O 778 P 667 Q 778 R 722 S 667 T 611 U 722 V 667 W 944 X 667 Y 667 Z 611 bracketleft 278 backslash 278 bracketright 278 asciicircum 469 underscore 556 quoteleft 222 a 556 b 556 c 500 d 556 e 556 f 278 g 556 h 556 i 222 j 222 k 500 l 222 m 833 n 556 o 556 p 556 q 556 r 333 s 500 t 278 u 556 v 500 w 722 x 500 y 500 z 500 braceleft 334 bar 260 braceright 334 asciitilde 584 exclamdown 333 cent 556 sterling 556 fraction 167 yen 556 florin 556 section 556 currency 556 quotesingle 191 quotedblleft 333 guillemotleft 556 guilsinglleft 333 guilsinglright 333 fi 500 fl 500 endash 556 dagger 556 daggerdbl 556 periodcentered 278 paragraph 537 bullet 350 quotesinglbase 222 quotedblbase 333 quotedblright 333 guillemotright 556 ellipsis 1000 perthousand 1000 questiondown 611 grave 333 acute 333 circumflex 333 tilde 333 macron 333 breve 333 dotaccent 333 dieresis 333 ring 333 cedilla 333 hungarumlaut 333 ogonek 333 caron 333 emdash 1000 AE 1000 ordfeminine 370 Lslash 556 Oslash 778 OE 1000 ordmasculine 365 ae 889 dotlessi 278 lslash 222 oslash 611 oe 944 germandbls 611 Idieresis 278 eacute 556 abreve 556 uhungarumlaut 556 ecaron 556 Ydieresis 667 divide 584 Yacute 667 Acircumflex 667 aacute 556 Ucircumflex 722 yacute 500 scommaaccent 500 ecircumflex 556 Uring 722 Udieresis 722 aogonek 556 Uacute 722 uogonek 556 Edieresis 667 Dcroat 722 commaaccent 250 copyright 737 Emacron 667 ccaron 500 aring 556 Ncommaaccent 722 lacute 222 agrave 556 Tcommaaccent 611 Cacute 722 atilde 556 Edotaccent 667 scaron 500 scedilla 500 iacute 278 lozenge 471 Rcaron 722 Gcommaaccent 778 ucircumflex 556 acircumflex 556 Amacron 667 rcaron 333 ccedilla 500 Zdotaccent 611 Thorn 667 Omacron 778 Racute 722 Sacute 667 dcaron 643 Umacron 722 uring 556 threesuperior 333 Ograve 778 Agrave 667 Abreve 667 multiply 584 uacute 556 Tcaron 611 partialdiff 476 ydieresis 500 Nacute 722 icircumflex 278 Ecircumflex 667 adieresis 556 edieresis 556 cacute 500 nacute 556 umacron 556 Ncaron 722 Iacute 278 plusminus 584 brokenbar 260 registered 737 Gbreve 778 Idotaccent 278 summation 600 Egrave 667 racute 333 omacron 556 Zacute 611 Zcaron 611 greaterequal 549 Eth 722 Ccedilla 722 lcommaaccent 222 tcaron 317 eogonek 556 Uogonek 722 Aacute 667 Adieresis 667 egrave 556 zacute 500 iogonek 222 Oacute 778 oacute 556 amacron 556 sacute 500 idieresis 278 Ocircumflex 778 Ugrave 722 Delta 612 thorn 556 twosuperior 333 Odieresis 778 mu 556 igrave 278 ohungarumlaut 556 Eogonek 667 dcroat 556 threequarters 834 Scedilla 667 lcaron 299 Kcommaaccent 667 Lacute 556 trademark 1000 edotaccent 556 Igrave 278 Imacron 278 Lcaron 556 onehalf 834 lessequal 549 ocircumflex 556 ntilde 556 Uhungarumlaut 722 Eacute 667 emacron 556 gbreve 556 onequarter 834 Scaron 667 Scommaaccent 667 Ohungarumlaut 778 degree 400 ograve 556 Ccaron 722 ugrave 556 radical 453 Dcaron 722 rcommaaccent 333 Ntilde 722 otilde 556 Rcommaaccent 722 Lcommaaccent 556 Atilde 667 Aogonek 667 Aring 667 Otilde 778 zdotaccent 500 Ecaron 667 Iogonek 278 kcommaaccent 500 minus 584 Icircumflex 278 ncaron 556 tcommaaccent 278 logicalnot 584 odieresis 556 udieresis 556 notequal 549 gcommaaccent 556 eth 556 zcaron 500 ncommaaccent 556 onesuperior 333 imacron 278 Euro 556")
|
|
610
|
+
},
|
|
611
|
+
"Helvetica-BoldOblique": {
|
|
612
|
+
ascender: 718,
|
|
613
|
+
descender: -207,
|
|
614
|
+
capHeight: 718,
|
|
615
|
+
xHeight: 532,
|
|
616
|
+
italicAngle: -12,
|
|
617
|
+
fontBBox: [
|
|
618
|
+
-174,
|
|
619
|
+
-228,
|
|
620
|
+
1114,
|
|
621
|
+
962
|
|
622
|
+
],
|
|
623
|
+
underlinePosition: -100,
|
|
624
|
+
underlineThickness: 50,
|
|
625
|
+
lineHeightEm: 1.15,
|
|
626
|
+
widths: parseWidths("space 278 exclam 333 quotedbl 474 numbersign 556 dollar 556 percent 889 ampersand 722 quoteright 278 parenleft 333 parenright 333 asterisk 389 plus 584 comma 278 hyphen 333 period 278 slash 278 zero 556 one 556 two 556 three 556 four 556 five 556 six 556 seven 556 eight 556 nine 556 colon 333 semicolon 333 less 584 equal 584 greater 584 question 611 at 975 A 722 B 722 C 722 D 722 E 667 F 611 G 778 H 722 I 278 J 556 K 722 L 611 M 833 N 722 O 778 P 667 Q 778 R 722 S 667 T 611 U 722 V 667 W 944 X 667 Y 667 Z 611 bracketleft 333 backslash 278 bracketright 333 asciicircum 584 underscore 556 quoteleft 278 a 556 b 611 c 556 d 611 e 556 f 333 g 611 h 611 i 278 j 278 k 556 l 278 m 889 n 611 o 611 p 611 q 611 r 389 s 556 t 333 u 611 v 556 w 778 x 556 y 556 z 500 braceleft 389 bar 280 braceright 389 asciitilde 584 exclamdown 333 cent 556 sterling 556 fraction 167 yen 556 florin 556 section 556 currency 556 quotesingle 238 quotedblleft 500 guillemotleft 556 guilsinglleft 333 guilsinglright 333 fi 611 fl 611 endash 556 dagger 556 daggerdbl 556 periodcentered 278 paragraph 556 bullet 350 quotesinglbase 278 quotedblbase 500 quotedblright 500 guillemotright 556 ellipsis 1000 perthousand 1000 questiondown 611 grave 333 acute 333 circumflex 333 tilde 333 macron 333 breve 333 dotaccent 333 dieresis 333 ring 333 cedilla 333 hungarumlaut 333 ogonek 333 caron 333 emdash 1000 AE 1000 ordfeminine 370 Lslash 611 Oslash 778 OE 1000 ordmasculine 365 ae 889 dotlessi 278 lslash 278 oslash 611 oe 944 germandbls 611 Idieresis 278 eacute 556 abreve 556 uhungarumlaut 611 ecaron 556 Ydieresis 667 divide 584 Yacute 667 Acircumflex 722 aacute 556 Ucircumflex 722 yacute 556 scommaaccent 556 ecircumflex 556 Uring 722 Udieresis 722 aogonek 556 Uacute 722 uogonek 611 Edieresis 667 Dcroat 722 commaaccent 250 copyright 737 Emacron 667 ccaron 556 aring 556 Ncommaaccent 722 lacute 278 agrave 556 Tcommaaccent 611 Cacute 722 atilde 556 Edotaccent 667 scaron 556 scedilla 556 iacute 278 lozenge 494 Rcaron 722 Gcommaaccent 778 ucircumflex 611 acircumflex 556 Amacron 722 rcaron 389 ccedilla 556 Zdotaccent 611 Thorn 667 Omacron 778 Racute 722 Sacute 667 dcaron 743 Umacron 722 uring 611 threesuperior 333 Ograve 778 Agrave 722 Abreve 722 multiply 584 uacute 611 Tcaron 611 partialdiff 494 ydieresis 556 Nacute 722 icircumflex 278 Ecircumflex 667 adieresis 556 edieresis 556 cacute 556 nacute 611 umacron 611 Ncaron 722 Iacute 278 plusminus 584 brokenbar 280 registered 737 Gbreve 778 Idotaccent 278 summation 600 Egrave 667 racute 389 omacron 611 Zacute 611 Zcaron 611 greaterequal 549 Eth 722 Ccedilla 722 lcommaaccent 278 tcaron 389 eogonek 556 Uogonek 722 Aacute 722 Adieresis 722 egrave 556 zacute 500 iogonek 278 Oacute 778 oacute 611 amacron 556 sacute 556 idieresis 278 Ocircumflex 778 Ugrave 722 Delta 612 thorn 611 twosuperior 333 Odieresis 778 mu 611 igrave 278 ohungarumlaut 611 Eogonek 667 dcroat 611 threequarters 834 Scedilla 667 lcaron 400 Kcommaaccent 722 Lacute 611 trademark 1000 edotaccent 556 Igrave 278 Imacron 278 Lcaron 611 onehalf 834 lessequal 549 ocircumflex 611 ntilde 611 Uhungarumlaut 722 Eacute 667 emacron 556 gbreve 611 onequarter 834 Scaron 667 Scommaaccent 667 Ohungarumlaut 778 degree 400 ograve 611 Ccaron 722 ugrave 611 radical 549 Dcaron 722 rcommaaccent 389 Ntilde 722 otilde 611 Rcommaaccent 722 Lcommaaccent 611 Atilde 722 Aogonek 722 Aring 722 Otilde 778 zdotaccent 500 Ecaron 667 Iogonek 278 kcommaaccent 556 minus 584 Icircumflex 278 ncaron 611 tcommaaccent 333 logicalnot 584 odieresis 611 udieresis 611 notequal 549 gcommaaccent 611 eth 611 zcaron 500 ncommaaccent 611 onesuperior 333 imacron 278 Euro 556")
|
|
627
|
+
},
|
|
628
|
+
"Times-Roman": {
|
|
629
|
+
ascender: 683,
|
|
630
|
+
descender: -217,
|
|
631
|
+
capHeight: 662,
|
|
632
|
+
xHeight: 450,
|
|
633
|
+
italicAngle: 0,
|
|
634
|
+
fontBBox: [
|
|
635
|
+
-168,
|
|
636
|
+
-218,
|
|
637
|
+
1e3,
|
|
638
|
+
898
|
|
639
|
+
],
|
|
640
|
+
underlinePosition: -100,
|
|
641
|
+
underlineThickness: 50,
|
|
642
|
+
lineHeightEm: 1.15,
|
|
643
|
+
widths: parseWidths("space 250 exclam 333 quotedbl 408 numbersign 500 dollar 500 percent 833 ampersand 778 quoteright 333 parenleft 333 parenright 333 asterisk 500 plus 564 comma 250 hyphen 333 period 250 slash 278 zero 500 one 500 two 500 three 500 four 500 five 500 six 500 seven 500 eight 500 nine 500 colon 278 semicolon 278 less 564 equal 564 greater 564 question 444 at 921 A 722 B 667 C 667 D 722 E 611 F 556 G 722 H 722 I 333 J 389 K 722 L 611 M 889 N 722 O 722 P 556 Q 722 R 667 S 556 T 611 U 722 V 722 W 944 X 722 Y 722 Z 611 bracketleft 333 backslash 278 bracketright 333 asciicircum 469 underscore 500 quoteleft 333 a 444 b 500 c 444 d 500 e 444 f 333 g 500 h 500 i 278 j 278 k 500 l 278 m 778 n 500 o 500 p 500 q 500 r 333 s 389 t 278 u 500 v 500 w 722 x 500 y 500 z 444 braceleft 480 bar 200 braceright 480 asciitilde 541 exclamdown 333 cent 500 sterling 500 fraction 167 yen 500 florin 500 section 500 currency 500 quotesingle 180 quotedblleft 444 guillemotleft 500 guilsinglleft 333 guilsinglright 333 fi 556 fl 556 endash 500 dagger 500 daggerdbl 500 periodcentered 250 paragraph 453 bullet 350 quotesinglbase 333 quotedblbase 444 quotedblright 444 guillemotright 500 ellipsis 1000 perthousand 1000 questiondown 444 grave 333 acute 333 circumflex 333 tilde 333 macron 333 breve 333 dotaccent 333 dieresis 333 ring 333 cedilla 333 hungarumlaut 333 ogonek 333 caron 333 emdash 1000 AE 889 ordfeminine 276 Lslash 611 Oslash 722 OE 889 ordmasculine 310 ae 667 dotlessi 278 lslash 278 oslash 500 oe 722 germandbls 500 Idieresis 333 eacute 444 abreve 444 uhungarumlaut 500 ecaron 444 Ydieresis 722 divide 564 Yacute 722 Acircumflex 722 aacute 444 Ucircumflex 722 yacute 500 scommaaccent 389 ecircumflex 444 Uring 722 Udieresis 722 aogonek 444 Uacute 722 uogonek 500 Edieresis 611 Dcroat 722 commaaccent 250 copyright 760 Emacron 611 ccaron 444 aring 444 Ncommaaccent 722 lacute 278 agrave 444 Tcommaaccent 611 Cacute 667 atilde 444 Edotaccent 611 scaron 389 scedilla 389 iacute 278 lozenge 471 Rcaron 667 Gcommaaccent 722 ucircumflex 500 acircumflex 444 Amacron 722 rcaron 333 ccedilla 444 Zdotaccent 611 Thorn 556 Omacron 722 Racute 667 Sacute 556 dcaron 588 Umacron 722 uring 500 threesuperior 300 Ograve 722 Agrave 722 Abreve 722 multiply 564 uacute 500 Tcaron 611 partialdiff 476 ydieresis 500 Nacute 722 icircumflex 278 Ecircumflex 611 adieresis 444 edieresis 444 cacute 444 nacute 500 umacron 500 Ncaron 722 Iacute 333 plusminus 564 brokenbar 200 registered 760 Gbreve 722 Idotaccent 333 summation 600 Egrave 611 racute 333 omacron 500 Zacute 611 Zcaron 611 greaterequal 549 Eth 722 Ccedilla 667 lcommaaccent 278 tcaron 326 eogonek 444 Uogonek 722 Aacute 722 Adieresis 722 egrave 444 zacute 444 iogonek 278 Oacute 722 oacute 500 amacron 444 sacute 389 idieresis 278 Ocircumflex 722 Ugrave 722 Delta 612 thorn 500 twosuperior 300 Odieresis 722 mu 500 igrave 278 ohungarumlaut 500 Eogonek 611 dcroat 500 threequarters 750 Scedilla 556 lcaron 344 Kcommaaccent 722 Lacute 611 trademark 980 edotaccent 444 Igrave 333 Imacron 333 Lcaron 611 onehalf 750 lessequal 549 ocircumflex 500 ntilde 500 Uhungarumlaut 722 Eacute 611 emacron 444 gbreve 500 onequarter 750 Scaron 556 Scommaaccent 556 Ohungarumlaut 722 degree 400 ograve 500 Ccaron 667 ugrave 500 radical 453 Dcaron 722 rcommaaccent 333 Ntilde 722 otilde 500 Rcommaaccent 667 Lcommaaccent 611 Atilde 722 Aogonek 722 Aring 722 Otilde 722 zdotaccent 444 Ecaron 611 Iogonek 333 kcommaaccent 500 minus 564 Icircumflex 333 ncaron 500 tcommaaccent 278 logicalnot 564 odieresis 500 udieresis 500 notequal 549 gcommaaccent 500 eth 500 zcaron 444 ncommaaccent 500 onesuperior 300 imacron 278 Euro 500")
|
|
644
|
+
},
|
|
645
|
+
"Times-Bold": {
|
|
646
|
+
ascender: 683,
|
|
647
|
+
descender: -217,
|
|
648
|
+
capHeight: 676,
|
|
649
|
+
xHeight: 461,
|
|
650
|
+
italicAngle: 0,
|
|
651
|
+
fontBBox: [
|
|
652
|
+
-168,
|
|
653
|
+
-218,
|
|
654
|
+
1e3,
|
|
655
|
+
935
|
|
656
|
+
],
|
|
657
|
+
underlinePosition: -100,
|
|
658
|
+
underlineThickness: 50,
|
|
659
|
+
lineHeightEm: 1.15,
|
|
660
|
+
widths: parseWidths("space 250 exclam 333 quotedbl 555 numbersign 500 dollar 500 percent 1000 ampersand 833 quoteright 333 parenleft 333 parenright 333 asterisk 500 plus 570 comma 250 hyphen 333 period 250 slash 278 zero 500 one 500 two 500 three 500 four 500 five 500 six 500 seven 500 eight 500 nine 500 colon 333 semicolon 333 less 570 equal 570 greater 570 question 500 at 930 A 722 B 667 C 722 D 722 E 667 F 611 G 778 H 778 I 389 J 500 K 778 L 667 M 944 N 722 O 778 P 611 Q 778 R 722 S 556 T 667 U 722 V 722 W 1000 X 722 Y 722 Z 667 bracketleft 333 backslash 278 bracketright 333 asciicircum 581 underscore 500 quoteleft 333 a 500 b 556 c 444 d 556 e 444 f 333 g 500 h 556 i 278 j 333 k 556 l 278 m 833 n 556 o 500 p 556 q 556 r 444 s 389 t 333 u 556 v 500 w 722 x 500 y 500 z 444 braceleft 394 bar 220 braceright 394 asciitilde 520 exclamdown 333 cent 500 sterling 500 fraction 167 yen 500 florin 500 section 500 currency 500 quotesingle 278 quotedblleft 500 guillemotleft 500 guilsinglleft 333 guilsinglright 333 fi 556 fl 556 endash 500 dagger 500 daggerdbl 500 periodcentered 250 paragraph 540 bullet 350 quotesinglbase 333 quotedblbase 500 quotedblright 500 guillemotright 500 ellipsis 1000 perthousand 1000 questiondown 500 grave 333 acute 333 circumflex 333 tilde 333 macron 333 breve 333 dotaccent 333 dieresis 333 ring 333 cedilla 333 hungarumlaut 333 ogonek 333 caron 333 emdash 1000 AE 1000 ordfeminine 300 Lslash 667 Oslash 778 OE 1000 ordmasculine 330 ae 722 dotlessi 278 lslash 278 oslash 500 oe 722 germandbls 556 Idieresis 389 eacute 444 abreve 500 uhungarumlaut 556 ecaron 444 Ydieresis 722 divide 570 Yacute 722 Acircumflex 722 aacute 500 Ucircumflex 722 yacute 500 scommaaccent 389 ecircumflex 444 Uring 722 Udieresis 722 aogonek 500 Uacute 722 uogonek 556 Edieresis 667 Dcroat 722 commaaccent 250 copyright 747 Emacron 667 ccaron 444 aring 500 Ncommaaccent 722 lacute 278 agrave 500 Tcommaaccent 667 Cacute 722 atilde 500 Edotaccent 667 scaron 389 scedilla 389 iacute 278 lozenge 494 Rcaron 722 Gcommaaccent 778 ucircumflex 556 acircumflex 500 Amacron 722 rcaron 444 ccedilla 444 Zdotaccent 667 Thorn 611 Omacron 778 Racute 722 Sacute 556 dcaron 672 Umacron 722 uring 556 threesuperior 300 Ograve 778 Agrave 722 Abreve 722 multiply 570 uacute 556 Tcaron 667 partialdiff 494 ydieresis 500 Nacute 722 icircumflex 278 Ecircumflex 667 adieresis 500 edieresis 444 cacute 444 nacute 556 umacron 556 Ncaron 722 Iacute 389 plusminus 570 brokenbar 220 registered 747 Gbreve 778 Idotaccent 389 summation 600 Egrave 667 racute 444 omacron 500 Zacute 667 Zcaron 667 greaterequal 549 Eth 722 Ccedilla 722 lcommaaccent 278 tcaron 416 eogonek 444 Uogonek 722 Aacute 722 Adieresis 722 egrave 444 zacute 444 iogonek 278 Oacute 778 oacute 500 amacron 500 sacute 389 idieresis 278 Ocircumflex 778 Ugrave 722 Delta 612 thorn 556 twosuperior 300 Odieresis 778 mu 556 igrave 278 ohungarumlaut 500 Eogonek 667 dcroat 556 threequarters 750 Scedilla 556 lcaron 394 Kcommaaccent 778 Lacute 667 trademark 1000 edotaccent 444 Igrave 389 Imacron 389 Lcaron 667 onehalf 750 lessequal 549 ocircumflex 500 ntilde 556 Uhungarumlaut 722 Eacute 667 emacron 444 gbreve 500 onequarter 750 Scaron 556 Scommaaccent 556 Ohungarumlaut 778 degree 400 ograve 500 Ccaron 722 ugrave 556 radical 549 Dcaron 722 rcommaaccent 444 Ntilde 722 otilde 500 Rcommaaccent 722 Lcommaaccent 667 Atilde 722 Aogonek 722 Aring 722 Otilde 778 zdotaccent 444 Ecaron 667 Iogonek 389 kcommaaccent 556 minus 570 Icircumflex 389 ncaron 556 tcommaaccent 333 logicalnot 570 odieresis 500 udieresis 556 notequal 549 gcommaaccent 500 eth 500 zcaron 444 ncommaaccent 556 onesuperior 300 imacron 278 Euro 500")
|
|
661
|
+
},
|
|
662
|
+
"Times-Italic": {
|
|
663
|
+
ascender: 683,
|
|
664
|
+
descender: -217,
|
|
665
|
+
capHeight: 653,
|
|
666
|
+
xHeight: 441,
|
|
667
|
+
italicAngle: -15.5,
|
|
668
|
+
fontBBox: [
|
|
669
|
+
-169,
|
|
670
|
+
-217,
|
|
671
|
+
1010,
|
|
672
|
+
883
|
|
673
|
+
],
|
|
674
|
+
underlinePosition: -100,
|
|
675
|
+
underlineThickness: 50,
|
|
676
|
+
lineHeightEm: 1.15,
|
|
677
|
+
widths: parseWidths("space 250 exclam 333 quotedbl 420 numbersign 500 dollar 500 percent 833 ampersand 778 quoteright 333 parenleft 333 parenright 333 asterisk 500 plus 675 comma 250 hyphen 333 period 250 slash 278 zero 500 one 500 two 500 three 500 four 500 five 500 six 500 seven 500 eight 500 nine 500 colon 333 semicolon 333 less 675 equal 675 greater 675 question 500 at 920 A 611 B 611 C 667 D 722 E 611 F 611 G 722 H 722 I 333 J 444 K 667 L 556 M 833 N 667 O 722 P 611 Q 722 R 611 S 500 T 556 U 722 V 611 W 833 X 611 Y 556 Z 556 bracketleft 389 backslash 278 bracketright 389 asciicircum 422 underscore 500 quoteleft 333 a 500 b 500 c 444 d 500 e 444 f 278 g 500 h 500 i 278 j 278 k 444 l 278 m 722 n 500 o 500 p 500 q 500 r 389 s 389 t 278 u 500 v 444 w 667 x 444 y 444 z 389 braceleft 400 bar 275 braceright 400 asciitilde 541 exclamdown 389 cent 500 sterling 500 fraction 167 yen 500 florin 500 section 500 currency 500 quotesingle 214 quotedblleft 556 guillemotleft 500 guilsinglleft 333 guilsinglright 333 fi 500 fl 500 endash 500 dagger 500 daggerdbl 500 periodcentered 250 paragraph 523 bullet 350 quotesinglbase 333 quotedblbase 556 quotedblright 556 guillemotright 500 ellipsis 889 perthousand 1000 questiondown 500 grave 333 acute 333 circumflex 333 tilde 333 macron 333 breve 333 dotaccent 333 dieresis 333 ring 333 cedilla 333 hungarumlaut 333 ogonek 333 caron 333 emdash 889 AE 889 ordfeminine 276 Lslash 556 Oslash 722 OE 944 ordmasculine 310 ae 667 dotlessi 278 lslash 278 oslash 500 oe 667 germandbls 500 Idieresis 333 eacute 444 abreve 500 uhungarumlaut 500 ecaron 444 Ydieresis 556 divide 675 Yacute 556 Acircumflex 611 aacute 500 Ucircumflex 722 yacute 444 scommaaccent 389 ecircumflex 444 Uring 722 Udieresis 722 aogonek 500 Uacute 722 uogonek 500 Edieresis 611 Dcroat 722 commaaccent 250 copyright 760 Emacron 611 ccaron 444 aring 500 Ncommaaccent 667 lacute 278 agrave 500 Tcommaaccent 556 Cacute 667 atilde 500 Edotaccent 611 scaron 389 scedilla 389 iacute 278 lozenge 471 Rcaron 611 Gcommaaccent 722 ucircumflex 500 acircumflex 500 Amacron 611 rcaron 389 ccedilla 444 Zdotaccent 556 Thorn 611 Omacron 722 Racute 611 Sacute 500 dcaron 544 Umacron 722 uring 500 threesuperior 300 Ograve 722 Agrave 611 Abreve 611 multiply 675 uacute 500 Tcaron 556 partialdiff 476 ydieresis 444 Nacute 667 icircumflex 278 Ecircumflex 611 adieresis 500 edieresis 444 cacute 444 nacute 500 umacron 500 Ncaron 667 Iacute 333 plusminus 675 brokenbar 275 registered 760 Gbreve 722 Idotaccent 333 summation 600 Egrave 611 racute 389 omacron 500 Zacute 556 Zcaron 556 greaterequal 549 Eth 722 Ccedilla 667 lcommaaccent 278 tcaron 300 eogonek 444 Uogonek 722 Aacute 611 Adieresis 611 egrave 444 zacute 389 iogonek 278 Oacute 722 oacute 500 amacron 500 sacute 389 idieresis 278 Ocircumflex 722 Ugrave 722 Delta 612 thorn 500 twosuperior 300 Odieresis 722 mu 500 igrave 278 ohungarumlaut 500 Eogonek 611 dcroat 500 threequarters 750 Scedilla 500 lcaron 300 Kcommaaccent 667 Lacute 556 trademark 980 edotaccent 444 Igrave 333 Imacron 333 Lcaron 611 onehalf 750 lessequal 549 ocircumflex 500 ntilde 500 Uhungarumlaut 722 Eacute 611 emacron 444 gbreve 500 onequarter 750 Scaron 500 Scommaaccent 500 Ohungarumlaut 722 degree 400 ograve 500 Ccaron 667 ugrave 500 radical 453 Dcaron 722 rcommaaccent 389 Ntilde 667 otilde 500 Rcommaaccent 611 Lcommaaccent 556 Atilde 611 Aogonek 611 Aring 611 Otilde 722 zdotaccent 389 Ecaron 611 Iogonek 333 kcommaaccent 444 minus 675 Icircumflex 333 ncaron 500 tcommaaccent 278 logicalnot 675 odieresis 500 udieresis 500 notequal 549 gcommaaccent 500 eth 500 zcaron 389 ncommaaccent 500 onesuperior 300 imacron 278 Euro 500")
|
|
678
|
+
},
|
|
679
|
+
"Times-BoldItalic": {
|
|
680
|
+
ascender: 683,
|
|
681
|
+
descender: -217,
|
|
682
|
+
capHeight: 669,
|
|
683
|
+
xHeight: 462,
|
|
684
|
+
italicAngle: -15,
|
|
685
|
+
fontBBox: [
|
|
686
|
+
-200,
|
|
687
|
+
-218,
|
|
688
|
+
996,
|
|
689
|
+
921
|
|
690
|
+
],
|
|
691
|
+
underlinePosition: -100,
|
|
692
|
+
underlineThickness: 50,
|
|
693
|
+
lineHeightEm: 1.15,
|
|
694
|
+
widths: parseWidths("space 250 exclam 389 quotedbl 555 numbersign 500 dollar 500 percent 833 ampersand 778 quoteright 333 parenleft 333 parenright 333 asterisk 500 plus 570 comma 250 hyphen 333 period 250 slash 278 zero 500 one 500 two 500 three 500 four 500 five 500 six 500 seven 500 eight 500 nine 500 colon 333 semicolon 333 less 570 equal 570 greater 570 question 500 at 832 A 667 B 667 C 667 D 722 E 667 F 667 G 722 H 778 I 389 J 500 K 667 L 611 M 889 N 722 O 722 P 611 Q 722 R 667 S 556 T 611 U 722 V 667 W 889 X 667 Y 611 Z 611 bracketleft 333 backslash 278 bracketright 333 asciicircum 570 underscore 500 quoteleft 333 a 500 b 500 c 444 d 500 e 444 f 333 g 500 h 556 i 278 j 278 k 500 l 278 m 778 n 556 o 500 p 500 q 500 r 389 s 389 t 278 u 556 v 444 w 667 x 500 y 444 z 389 braceleft 348 bar 220 braceright 348 asciitilde 570 exclamdown 389 cent 500 sterling 500 fraction 167 yen 500 florin 500 section 500 currency 500 quotesingle 278 quotedblleft 500 guillemotleft 500 guilsinglleft 333 guilsinglright 333 fi 556 fl 556 endash 500 dagger 500 daggerdbl 500 periodcentered 250 paragraph 500 bullet 350 quotesinglbase 333 quotedblbase 500 quotedblright 500 guillemotright 500 ellipsis 1000 perthousand 1000 questiondown 500 grave 333 acute 333 circumflex 333 tilde 333 macron 333 breve 333 dotaccent 333 dieresis 333 ring 333 cedilla 333 hungarumlaut 333 ogonek 333 caron 333 emdash 1000 AE 944 ordfeminine 266 Lslash 611 Oslash 722 OE 944 ordmasculine 300 ae 722 dotlessi 278 lslash 278 oslash 500 oe 722 germandbls 500 Idieresis 389 eacute 444 abreve 500 uhungarumlaut 556 ecaron 444 Ydieresis 611 divide 570 Yacute 611 Acircumflex 667 aacute 500 Ucircumflex 722 yacute 444 scommaaccent 389 ecircumflex 444 Uring 722 Udieresis 722 aogonek 500 Uacute 722 uogonek 556 Edieresis 667 Dcroat 722 commaaccent 250 copyright 747 Emacron 667 ccaron 444 aring 500 Ncommaaccent 722 lacute 278 agrave 500 Tcommaaccent 611 Cacute 667 atilde 500 Edotaccent 667 scaron 389 scedilla 389 iacute 278 lozenge 494 Rcaron 667 Gcommaaccent 722 ucircumflex 556 acircumflex 500 Amacron 667 rcaron 389 ccedilla 444 Zdotaccent 611 Thorn 611 Omacron 722 Racute 667 Sacute 556 dcaron 608 Umacron 722 uring 556 threesuperior 300 Ograve 722 Agrave 667 Abreve 667 multiply 570 uacute 556 Tcaron 611 partialdiff 494 ydieresis 444 Nacute 722 icircumflex 278 Ecircumflex 667 adieresis 500 edieresis 444 cacute 444 nacute 556 umacron 556 Ncaron 722 Iacute 389 plusminus 570 brokenbar 220 registered 747 Gbreve 722 Idotaccent 389 summation 600 Egrave 667 racute 389 omacron 500 Zacute 611 Zcaron 611 greaterequal 549 Eth 722 Ccedilla 667 lcommaaccent 278 tcaron 366 eogonek 444 Uogonek 722 Aacute 667 Adieresis 667 egrave 444 zacute 389 iogonek 278 Oacute 722 oacute 500 amacron 500 sacute 389 idieresis 278 Ocircumflex 722 Ugrave 722 Delta 612 thorn 500 twosuperior 300 Odieresis 722 mu 576 igrave 278 ohungarumlaut 500 Eogonek 667 dcroat 500 threequarters 750 Scedilla 556 lcaron 382 Kcommaaccent 667 Lacute 611 trademark 1000 edotaccent 444 Igrave 389 Imacron 389 Lcaron 611 onehalf 750 lessequal 549 ocircumflex 500 ntilde 556 Uhungarumlaut 722 Eacute 667 emacron 444 gbreve 500 onequarter 750 Scaron 556 Scommaaccent 556 Ohungarumlaut 722 degree 400 ograve 500 Ccaron 667 ugrave 556 radical 549 Dcaron 722 rcommaaccent 389 Ntilde 722 otilde 500 Rcommaaccent 667 Lcommaaccent 611 Atilde 667 Aogonek 667 Aring 667 Otilde 722 zdotaccent 389 Ecaron 667 Iogonek 389 kcommaaccent 500 minus 606 Icircumflex 389 ncaron 556 tcommaaccent 278 logicalnot 606 odieresis 500 udieresis 556 notequal 549 gcommaaccent 500 eth 500 zcaron 389 ncommaaccent 556 onesuperior 300 imacron 278 Euro 500")
|
|
695
|
+
},
|
|
696
|
+
"Courier": {
|
|
697
|
+
ascender: 629,
|
|
698
|
+
descender: -157,
|
|
699
|
+
capHeight: 562,
|
|
700
|
+
xHeight: 426,
|
|
701
|
+
italicAngle: 0,
|
|
702
|
+
fontBBox: [
|
|
703
|
+
-23,
|
|
704
|
+
-250,
|
|
705
|
+
715,
|
|
706
|
+
805
|
|
707
|
+
],
|
|
708
|
+
underlinePosition: -100,
|
|
709
|
+
underlineThickness: 50,
|
|
710
|
+
lineHeightEm: 1.133,
|
|
711
|
+
fixedWidth: 600,
|
|
712
|
+
widths: parseWidths("space 600 exclam 600 quotedbl 600 numbersign 600 dollar 600 percent 600 ampersand 600 quoteright 600 parenleft 600 parenright 600 asterisk 600 plus 600 comma 600 hyphen 600 period 600 slash 600 zero 600 one 600 two 600 three 600 four 600 five 600 six 600 seven 600 eight 600 nine 600 colon 600 semicolon 600 less 600 equal 600 greater 600 question 600 at 600 A 600 B 600 C 600 D 600 E 600 F 600 G 600 H 600 I 600 J 600 K 600 L 600 M 600 N 600 O 600 P 600 Q 600 R 600 S 600 T 600 U 600 V 600 W 600 X 600 Y 600 Z 600 bracketleft 600 backslash 600 bracketright 600 asciicircum 600 underscore 600 quoteleft 600 a 600 b 600 c 600 d 600 e 600 f 600 g 600 h 600 i 600 j 600 k 600 l 600 m 600 n 600 o 600 p 600 q 600 r 600 s 600 t 600 u 600 v 600 w 600 x 600 y 600 z 600 braceleft 600 bar 600 braceright 600 asciitilde 600 exclamdown 600 cent 600 sterling 600 fraction 600 yen 600 florin 600 section 600 currency 600 quotesingle 600 quotedblleft 600 guillemotleft 600 guilsinglleft 600 guilsinglright 600 fi 600 fl 600 endash 600 dagger 600 daggerdbl 600 periodcentered 600 paragraph 600 bullet 600 quotesinglbase 600 quotedblbase 600 quotedblright 600 guillemotright 600 ellipsis 600 perthousand 600 questiondown 600 grave 600 acute 600 circumflex 600 tilde 600 macron 600 breve 600 dotaccent 600 dieresis 600 ring 600 cedilla 600 hungarumlaut 600 ogonek 600 caron 600 emdash 600 AE 600 ordfeminine 600 Lslash 600 Oslash 600 OE 600 ordmasculine 600 ae 600 dotlessi 600 lslash 600 oslash 600 oe 600 germandbls 600 Idieresis 600 eacute 600 abreve 600 uhungarumlaut 600 ecaron 600 Ydieresis 600 divide 600 Yacute 600 Acircumflex 600 aacute 600 Ucircumflex 600 yacute 600 scommaaccent 600 ecircumflex 600 Uring 600 Udieresis 600 aogonek 600 Uacute 600 uogonek 600 Edieresis 600 Dcroat 600 commaaccent 600 copyright 600 Emacron 600 ccaron 600 aring 600 Ncommaaccent 600 lacute 600 agrave 600 Tcommaaccent 600 Cacute 600 atilde 600 Edotaccent 600 scaron 600 scedilla 600 iacute 600 lozenge 600 Rcaron 600 Gcommaaccent 600 ucircumflex 600 acircumflex 600 Amacron 600 rcaron 600 ccedilla 600 Zdotaccent 600 Thorn 600 Omacron 600 Racute 600 Sacute 600 dcaron 600 Umacron 600 uring 600 threesuperior 600 Ograve 600 Agrave 600 Abreve 600 multiply 600 uacute 600 Tcaron 600 partialdiff 600 ydieresis 600 Nacute 600 icircumflex 600 Ecircumflex 600 adieresis 600 edieresis 600 cacute 600 nacute 600 umacron 600 Ncaron 600 Iacute 600 plusminus 600 brokenbar 600 registered 600 Gbreve 600 Idotaccent 600 summation 600 Egrave 600 racute 600 omacron 600 Zacute 600 Zcaron 600 greaterequal 600 Eth 600 Ccedilla 600 lcommaaccent 600 tcaron 600 eogonek 600 Uogonek 600 Aacute 600 Adieresis 600 egrave 600 zacute 600 iogonek 600 Oacute 600 oacute 600 amacron 600 sacute 600 idieresis 600 Ocircumflex 600 Ugrave 600 Delta 600 thorn 600 twosuperior 600 Odieresis 600 mu 600 igrave 600 ohungarumlaut 600 Eogonek 600 dcroat 600 threequarters 600 Scedilla 600 lcaron 600 Kcommaaccent 600 Lacute 600 trademark 600 edotaccent 600 Igrave 600 Imacron 600 Lcaron 600 onehalf 600 lessequal 600 ocircumflex 600 ntilde 600 Uhungarumlaut 600 Eacute 600 emacron 600 gbreve 600 onequarter 600 Scaron 600 Scommaaccent 600 Ohungarumlaut 600 degree 600 ograve 600 Ccaron 600 ugrave 600 radical 600 Dcaron 600 rcommaaccent 600 Ntilde 600 otilde 600 Rcommaaccent 600 Lcommaaccent 600 Atilde 600 Aogonek 600 Aring 600 Otilde 600 zdotaccent 600 Ecaron 600 Iogonek 600 kcommaaccent 600 minus 600 Icircumflex 600 ncaron 600 tcommaaccent 600 logicalnot 600 odieresis 600 udieresis 600 notequal 600 gcommaaccent 600 eth 600 zcaron 600 ncommaaccent 600 onesuperior 600 imacron 600 Euro 600")
|
|
713
|
+
},
|
|
714
|
+
"Courier-Bold": {
|
|
715
|
+
ascender: 629,
|
|
716
|
+
descender: -157,
|
|
717
|
+
capHeight: 562,
|
|
718
|
+
xHeight: 439,
|
|
719
|
+
italicAngle: 0,
|
|
720
|
+
fontBBox: [
|
|
721
|
+
-113,
|
|
722
|
+
-250,
|
|
723
|
+
749,
|
|
724
|
+
801
|
|
725
|
+
],
|
|
726
|
+
underlinePosition: -100,
|
|
727
|
+
underlineThickness: 50,
|
|
728
|
+
lineHeightEm: 1.133,
|
|
729
|
+
fixedWidth: 600,
|
|
730
|
+
widths: parseWidths("space 600 exclam 600 quotedbl 600 numbersign 600 dollar 600 percent 600 ampersand 600 quoteright 600 parenleft 600 parenright 600 asterisk 600 plus 600 comma 600 hyphen 600 period 600 slash 600 zero 600 one 600 two 600 three 600 four 600 five 600 six 600 seven 600 eight 600 nine 600 colon 600 semicolon 600 less 600 equal 600 greater 600 question 600 at 600 A 600 B 600 C 600 D 600 E 600 F 600 G 600 H 600 I 600 J 600 K 600 L 600 M 600 N 600 O 600 P 600 Q 600 R 600 S 600 T 600 U 600 V 600 W 600 X 600 Y 600 Z 600 bracketleft 600 backslash 600 bracketright 600 asciicircum 600 underscore 600 quoteleft 600 a 600 b 600 c 600 d 600 e 600 f 600 g 600 h 600 i 600 j 600 k 600 l 600 m 600 n 600 o 600 p 600 q 600 r 600 s 600 t 600 u 600 v 600 w 600 x 600 y 600 z 600 braceleft 600 bar 600 braceright 600 asciitilde 600 exclamdown 600 cent 600 sterling 600 fraction 600 yen 600 florin 600 section 600 currency 600 quotesingle 600 quotedblleft 600 guillemotleft 600 guilsinglleft 600 guilsinglright 600 fi 600 fl 600 endash 600 dagger 600 daggerdbl 600 periodcentered 600 paragraph 600 bullet 600 quotesinglbase 600 quotedblbase 600 quotedblright 600 guillemotright 600 ellipsis 600 perthousand 600 questiondown 600 grave 600 acute 600 circumflex 600 tilde 600 macron 600 breve 600 dotaccent 600 dieresis 600 ring 600 cedilla 600 hungarumlaut 600 ogonek 600 caron 600 emdash 600 AE 600 ordfeminine 600 Lslash 600 Oslash 600 OE 600 ordmasculine 600 ae 600 dotlessi 600 lslash 600 oslash 600 oe 600 germandbls 600 Idieresis 600 eacute 600 abreve 600 uhungarumlaut 600 ecaron 600 Ydieresis 600 divide 600 Yacute 600 Acircumflex 600 aacute 600 Ucircumflex 600 yacute 600 scommaaccent 600 ecircumflex 600 Uring 600 Udieresis 600 aogonek 600 Uacute 600 uogonek 600 Edieresis 600 Dcroat 600 commaaccent 600 copyright 600 Emacron 600 ccaron 600 aring 600 Ncommaaccent 600 lacute 600 agrave 600 Tcommaaccent 600 Cacute 600 atilde 600 Edotaccent 600 scaron 600 scedilla 600 iacute 600 lozenge 600 Rcaron 600 Gcommaaccent 600 ucircumflex 600 acircumflex 600 Amacron 600 rcaron 600 ccedilla 600 Zdotaccent 600 Thorn 600 Omacron 600 Racute 600 Sacute 600 dcaron 600 Umacron 600 uring 600 threesuperior 600 Ograve 600 Agrave 600 Abreve 600 multiply 600 uacute 600 Tcaron 600 partialdiff 600 ydieresis 600 Nacute 600 icircumflex 600 Ecircumflex 600 adieresis 600 edieresis 600 cacute 600 nacute 600 umacron 600 Ncaron 600 Iacute 600 plusminus 600 brokenbar 600 registered 600 Gbreve 600 Idotaccent 600 summation 600 Egrave 600 racute 600 omacron 600 Zacute 600 Zcaron 600 greaterequal 600 Eth 600 Ccedilla 600 lcommaaccent 600 tcaron 600 eogonek 600 Uogonek 600 Aacute 600 Adieresis 600 egrave 600 zacute 600 iogonek 600 Oacute 600 oacute 600 amacron 600 sacute 600 idieresis 600 Ocircumflex 600 Ugrave 600 Delta 600 thorn 600 twosuperior 600 Odieresis 600 mu 600 igrave 600 ohungarumlaut 600 Eogonek 600 dcroat 600 threequarters 600 Scedilla 600 lcaron 600 Kcommaaccent 600 Lacute 600 trademark 600 edotaccent 600 Igrave 600 Imacron 600 Lcaron 600 onehalf 600 lessequal 600 ocircumflex 600 ntilde 600 Uhungarumlaut 600 Eacute 600 emacron 600 gbreve 600 onequarter 600 Scaron 600 Scommaaccent 600 Ohungarumlaut 600 degree 600 ograve 600 Ccaron 600 ugrave 600 radical 600 Dcaron 600 rcommaaccent 600 Ntilde 600 otilde 600 Rcommaaccent 600 Lcommaaccent 600 Atilde 600 Aogonek 600 Aring 600 Otilde 600 zdotaccent 600 Ecaron 600 Iogonek 600 kcommaaccent 600 minus 600 Icircumflex 600 ncaron 600 tcommaaccent 600 logicalnot 600 odieresis 600 udieresis 600 notequal 600 gcommaaccent 600 eth 600 zcaron 600 ncommaaccent 600 onesuperior 600 imacron 600 Euro 600")
|
|
731
|
+
},
|
|
732
|
+
"Courier-Oblique": {
|
|
733
|
+
ascender: 629,
|
|
734
|
+
descender: -157,
|
|
735
|
+
capHeight: 562,
|
|
736
|
+
xHeight: 426,
|
|
737
|
+
italicAngle: -12,
|
|
738
|
+
fontBBox: [
|
|
739
|
+
-27,
|
|
740
|
+
-250,
|
|
741
|
+
849,
|
|
742
|
+
805
|
|
743
|
+
],
|
|
744
|
+
underlinePosition: -100,
|
|
745
|
+
underlineThickness: 50,
|
|
746
|
+
lineHeightEm: 1.133,
|
|
747
|
+
fixedWidth: 600,
|
|
748
|
+
widths: parseWidths("space 600 exclam 600 quotedbl 600 numbersign 600 dollar 600 percent 600 ampersand 600 quoteright 600 parenleft 600 parenright 600 asterisk 600 plus 600 comma 600 hyphen 600 period 600 slash 600 zero 600 one 600 two 600 three 600 four 600 five 600 six 600 seven 600 eight 600 nine 600 colon 600 semicolon 600 less 600 equal 600 greater 600 question 600 at 600 A 600 B 600 C 600 D 600 E 600 F 600 G 600 H 600 I 600 J 600 K 600 L 600 M 600 N 600 O 600 P 600 Q 600 R 600 S 600 T 600 U 600 V 600 W 600 X 600 Y 600 Z 600 bracketleft 600 backslash 600 bracketright 600 asciicircum 600 underscore 600 quoteleft 600 a 600 b 600 c 600 d 600 e 600 f 600 g 600 h 600 i 600 j 600 k 600 l 600 m 600 n 600 o 600 p 600 q 600 r 600 s 600 t 600 u 600 v 600 w 600 x 600 y 600 z 600 braceleft 600 bar 600 braceright 600 asciitilde 600 exclamdown 600 cent 600 sterling 600 fraction 600 yen 600 florin 600 section 600 currency 600 quotesingle 600 quotedblleft 600 guillemotleft 600 guilsinglleft 600 guilsinglright 600 fi 600 fl 600 endash 600 dagger 600 daggerdbl 600 periodcentered 600 paragraph 600 bullet 600 quotesinglbase 600 quotedblbase 600 quotedblright 600 guillemotright 600 ellipsis 600 perthousand 600 questiondown 600 grave 600 acute 600 circumflex 600 tilde 600 macron 600 breve 600 dotaccent 600 dieresis 600 ring 600 cedilla 600 hungarumlaut 600 ogonek 600 caron 600 emdash 600 AE 600 ordfeminine 600 Lslash 600 Oslash 600 OE 600 ordmasculine 600 ae 600 dotlessi 600 lslash 600 oslash 600 oe 600 germandbls 600 Idieresis 600 eacute 600 abreve 600 uhungarumlaut 600 ecaron 600 Ydieresis 600 divide 600 Yacute 600 Acircumflex 600 aacute 600 Ucircumflex 600 yacute 600 scommaaccent 600 ecircumflex 600 Uring 600 Udieresis 600 aogonek 600 Uacute 600 uogonek 600 Edieresis 600 Dcroat 600 commaaccent 600 copyright 600 Emacron 600 ccaron 600 aring 600 Ncommaaccent 600 lacute 600 agrave 600 Tcommaaccent 600 Cacute 600 atilde 600 Edotaccent 600 scaron 600 scedilla 600 iacute 600 lozenge 600 Rcaron 600 Gcommaaccent 600 ucircumflex 600 acircumflex 600 Amacron 600 rcaron 600 ccedilla 600 Zdotaccent 600 Thorn 600 Omacron 600 Racute 600 Sacute 600 dcaron 600 Umacron 600 uring 600 threesuperior 600 Ograve 600 Agrave 600 Abreve 600 multiply 600 uacute 600 Tcaron 600 partialdiff 600 ydieresis 600 Nacute 600 icircumflex 600 Ecircumflex 600 adieresis 600 edieresis 600 cacute 600 nacute 600 umacron 600 Ncaron 600 Iacute 600 plusminus 600 brokenbar 600 registered 600 Gbreve 600 Idotaccent 600 summation 600 Egrave 600 racute 600 omacron 600 Zacute 600 Zcaron 600 greaterequal 600 Eth 600 Ccedilla 600 lcommaaccent 600 tcaron 600 eogonek 600 Uogonek 600 Aacute 600 Adieresis 600 egrave 600 zacute 600 iogonek 600 Oacute 600 oacute 600 amacron 600 sacute 600 idieresis 600 Ocircumflex 600 Ugrave 600 Delta 600 thorn 600 twosuperior 600 Odieresis 600 mu 600 igrave 600 ohungarumlaut 600 Eogonek 600 dcroat 600 threequarters 600 Scedilla 600 lcaron 600 Kcommaaccent 600 Lacute 600 trademark 600 edotaccent 600 Igrave 600 Imacron 600 Lcaron 600 onehalf 600 lessequal 600 ocircumflex 600 ntilde 600 Uhungarumlaut 600 Eacute 600 emacron 600 gbreve 600 onequarter 600 Scaron 600 Scommaaccent 600 Ohungarumlaut 600 degree 600 ograve 600 Ccaron 600 ugrave 600 radical 600 Dcaron 600 rcommaaccent 600 Ntilde 600 otilde 600 Rcommaaccent 600 Lcommaaccent 600 Atilde 600 Aogonek 600 Aring 600 Otilde 600 zdotaccent 600 Ecaron 600 Iogonek 600 kcommaaccent 600 minus 600 Icircumflex 600 ncaron 600 tcommaaccent 600 logicalnot 600 odieresis 600 udieresis 600 notequal 600 gcommaaccent 600 eth 600 zcaron 600 ncommaaccent 600 onesuperior 600 imacron 600 Euro 600")
|
|
749
|
+
},
|
|
750
|
+
"Courier-BoldOblique": {
|
|
751
|
+
ascender: 629,
|
|
752
|
+
descender: -157,
|
|
753
|
+
capHeight: 562,
|
|
754
|
+
xHeight: 439,
|
|
755
|
+
italicAngle: -12,
|
|
756
|
+
fontBBox: [
|
|
757
|
+
-57,
|
|
758
|
+
-250,
|
|
759
|
+
869,
|
|
760
|
+
801
|
|
761
|
+
],
|
|
762
|
+
underlinePosition: -100,
|
|
763
|
+
underlineThickness: 50,
|
|
764
|
+
lineHeightEm: 1.133,
|
|
765
|
+
fixedWidth: 600,
|
|
766
|
+
widths: parseWidths("space 600 exclam 600 quotedbl 600 numbersign 600 dollar 600 percent 600 ampersand 600 quoteright 600 parenleft 600 parenright 600 asterisk 600 plus 600 comma 600 hyphen 600 period 600 slash 600 zero 600 one 600 two 600 three 600 four 600 five 600 six 600 seven 600 eight 600 nine 600 colon 600 semicolon 600 less 600 equal 600 greater 600 question 600 at 600 A 600 B 600 C 600 D 600 E 600 F 600 G 600 H 600 I 600 J 600 K 600 L 600 M 600 N 600 O 600 P 600 Q 600 R 600 S 600 T 600 U 600 V 600 W 600 X 600 Y 600 Z 600 bracketleft 600 backslash 600 bracketright 600 asciicircum 600 underscore 600 quoteleft 600 a 600 b 600 c 600 d 600 e 600 f 600 g 600 h 600 i 600 j 600 k 600 l 600 m 600 n 600 o 600 p 600 q 600 r 600 s 600 t 600 u 600 v 600 w 600 x 600 y 600 z 600 braceleft 600 bar 600 braceright 600 asciitilde 600 exclamdown 600 cent 600 sterling 600 fraction 600 yen 600 florin 600 section 600 currency 600 quotesingle 600 quotedblleft 600 guillemotleft 600 guilsinglleft 600 guilsinglright 600 fi 600 fl 600 endash 600 dagger 600 daggerdbl 600 periodcentered 600 paragraph 600 bullet 600 quotesinglbase 600 quotedblbase 600 quotedblright 600 guillemotright 600 ellipsis 600 perthousand 600 questiondown 600 grave 600 acute 600 circumflex 600 tilde 600 macron 600 breve 600 dotaccent 600 dieresis 600 ring 600 cedilla 600 hungarumlaut 600 ogonek 600 caron 600 emdash 600 AE 600 ordfeminine 600 Lslash 600 Oslash 600 OE 600 ordmasculine 600 ae 600 dotlessi 600 lslash 600 oslash 600 oe 600 germandbls 600 Idieresis 600 eacute 600 abreve 600 uhungarumlaut 600 ecaron 600 Ydieresis 600 divide 600 Yacute 600 Acircumflex 600 aacute 600 Ucircumflex 600 yacute 600 scommaaccent 600 ecircumflex 600 Uring 600 Udieresis 600 aogonek 600 Uacute 600 uogonek 600 Edieresis 600 Dcroat 600 commaaccent 600 copyright 600 Emacron 600 ccaron 600 aring 600 Ncommaaccent 600 lacute 600 agrave 600 Tcommaaccent 600 Cacute 600 atilde 600 Edotaccent 600 scaron 600 scedilla 600 iacute 600 lozenge 600 Rcaron 600 Gcommaaccent 600 ucircumflex 600 acircumflex 600 Amacron 600 rcaron 600 ccedilla 600 Zdotaccent 600 Thorn 600 Omacron 600 Racute 600 Sacute 600 dcaron 600 Umacron 600 uring 600 threesuperior 600 Ograve 600 Agrave 600 Abreve 600 multiply 600 uacute 600 Tcaron 600 partialdiff 600 ydieresis 600 Nacute 600 icircumflex 600 Ecircumflex 600 adieresis 600 edieresis 600 cacute 600 nacute 600 umacron 600 Ncaron 600 Iacute 600 plusminus 600 brokenbar 600 registered 600 Gbreve 600 Idotaccent 600 summation 600 Egrave 600 racute 600 omacron 600 Zacute 600 Zcaron 600 greaterequal 600 Eth 600 Ccedilla 600 lcommaaccent 600 tcaron 600 eogonek 600 Uogonek 600 Aacute 600 Adieresis 600 egrave 600 zacute 600 iogonek 600 Oacute 600 oacute 600 amacron 600 sacute 600 idieresis 600 Ocircumflex 600 Ugrave 600 Delta 600 thorn 600 twosuperior 600 Odieresis 600 mu 600 igrave 600 ohungarumlaut 600 Eogonek 600 dcroat 600 threequarters 600 Scedilla 600 lcaron 600 Kcommaaccent 600 Lacute 600 trademark 600 edotaccent 600 Igrave 600 Imacron 600 Lcaron 600 onehalf 600 lessequal 600 ocircumflex 600 ntilde 600 Uhungarumlaut 600 Eacute 600 emacron 600 gbreve 600 onequarter 600 Scaron 600 Scommaaccent 600 Ohungarumlaut 600 degree 600 ograve 600 Ccaron 600 ugrave 600 radical 600 Dcaron 600 rcommaaccent 600 Ntilde 600 otilde 600 Rcommaaccent 600 Lcommaaccent 600 Atilde 600 Aogonek 600 Aring 600 Otilde 600 zdotaccent 600 Ecaron 600 Iogonek 600 kcommaaccent 600 minus 600 Icircumflex 600 ncaron 600 tcommaaccent 600 logicalnot 600 odieresis 600 udieresis 600 notequal 600 gcommaaccent 600 eth 600 zcaron 600 ncommaaccent 600 onesuperior 600 imacron 600 Euro 600")
|
|
767
|
+
}
|
|
768
|
+
};
|
|
769
|
+
function widthOfCode(font, code) {
|
|
770
|
+
const metrics = STANDARD_METRICS[font];
|
|
771
|
+
if (metrics.fixedWidth !== void 0) return metrics.fixedWidth;
|
|
772
|
+
const glyphName = winAnsiGlyphName(code);
|
|
773
|
+
if (glyphName === void 0) throw new Error(`character code ${code} has no WinAnsi glyph mapping`);
|
|
774
|
+
const width = metrics.widths.get(glyphName);
|
|
775
|
+
if (width === void 0) throw new Error(`${font} has no AFM width for glyph '${glyphName}' (code ${code})`);
|
|
776
|
+
return width;
|
|
777
|
+
}
|
|
778
|
+
//#endregion
|
|
779
|
+
Object.defineProperty(exports, "STANDARD_METRICS", {
|
|
780
|
+
enumerable: true,
|
|
781
|
+
get: function() {
|
|
782
|
+
return STANDARD_METRICS;
|
|
783
|
+
}
|
|
784
|
+
});
|
|
785
|
+
Object.defineProperty(exports, "WINANSI_GLYPH_NAMES", {
|
|
786
|
+
enumerable: true,
|
|
787
|
+
get: function() {
|
|
788
|
+
return WINANSI_GLYPH_NAMES;
|
|
789
|
+
}
|
|
790
|
+
});
|
|
791
|
+
Object.defineProperty(exports, "encodeForShow", {
|
|
792
|
+
enumerable: true,
|
|
793
|
+
get: function() {
|
|
794
|
+
return encodeForShow;
|
|
795
|
+
}
|
|
796
|
+
});
|
|
797
|
+
Object.defineProperty(exports, "glyphNameToUnicode", {
|
|
798
|
+
enumerable: true,
|
|
799
|
+
get: function() {
|
|
800
|
+
return glyphNameToUnicode;
|
|
801
|
+
}
|
|
802
|
+
});
|
|
803
|
+
Object.defineProperty(exports, "sanitizeToWinAnsi", {
|
|
804
|
+
enumerable: true,
|
|
805
|
+
get: function() {
|
|
806
|
+
return sanitizeToWinAnsi;
|
|
807
|
+
}
|
|
808
|
+
});
|
|
809
|
+
Object.defineProperty(exports, "widthOfCode", {
|
|
810
|
+
enumerable: true,
|
|
811
|
+
get: function() {
|
|
812
|
+
return widthOfCode;
|
|
813
|
+
}
|
|
814
|
+
});
|
|
815
|
+
Object.defineProperty(exports, "winAnsiCodeToUnicode", {
|
|
816
|
+
enumerable: true,
|
|
817
|
+
get: function() {
|
|
818
|
+
return winAnsiCodeToUnicode;
|
|
819
|
+
}
|
|
820
|
+
});
|
|
821
|
+
Object.defineProperty(exports, "winAnsiGlyphName", {
|
|
822
|
+
enumerable: true,
|
|
823
|
+
get: function() {
|
|
824
|
+
return winAnsiGlyphName;
|
|
825
|
+
}
|
|
826
|
+
});
|