pdf-parser.js 5.2.30 → 5.3.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.
Files changed (189) hide show
  1. package/dist/{afm-widths-BHD2HZIL.cjs → afm-widths-C6U0SQj9.cjs} +5 -1448
  2. package/dist/{afm-widths-B_IGbGky.js → afm-widths-p3UfaXme.js} +3 -1398
  3. package/dist/afm-widths.cjs +1 -1
  4. package/dist/afm-widths.js +1 -1
  5. package/dist/annotations.d.cts +3 -3
  6. package/dist/annotations.d.ts +3 -3
  7. package/dist/attachments.d.cts +2 -2
  8. package/dist/attachments.d.ts +2 -2
  9. package/dist/builtin-encoding.cjs +4 -3
  10. package/dist/builtin-encoding.js +2 -1
  11. package/dist/cmap.d.cts +1 -1
  12. package/dist/cmap.d.ts +1 -1
  13. package/dist/content-read.d.cts +1 -1
  14. package/dist/content-read.d.ts +1 -1
  15. package/dist/content-write.cjs +1 -1
  16. package/dist/content-write.d.cts +1 -1
  17. package/dist/content-write.d.ts +1 -1
  18. package/dist/content-write.js +1 -1
  19. package/dist/diagnostics-C9FxfZ6H.d.cts +22 -0
  20. package/dist/diagnostics-C9FxfZ6H.d.ts +22 -0
  21. package/dist/diagnostics.d.cts +1 -21
  22. package/dist/diagnostics.d.ts +1 -21
  23. package/dist/document.d.cts +1 -1
  24. package/dist/document.d.ts +1 -1
  25. package/dist/{embedded-font-ByD7ZiQS.d.ts → embedded-font-CQZbTTDM.d.ts} +1 -1
  26. package/dist/{embedded-font-DgVBedw6.d.cts → embedded-font-CqePfvrl.d.cts} +1 -1
  27. package/dist/embedded-font-write.d.cts +1 -1
  28. package/dist/embedded-font-write.d.ts +1 -1
  29. package/dist/embedded-font.cjs +2 -2
  30. package/dist/embedded-font.d.cts +1 -1
  31. package/dist/embedded-font.d.ts +1 -1
  32. package/dist/embedded-font.js +2 -2
  33. package/dist/encoding-glyph-unicode.cjs +353 -0
  34. package/dist/encoding-glyph-unicode.d.cts +4 -0
  35. package/dist/encoding-glyph-unicode.d.ts +4 -0
  36. package/dist/encoding-glyph-unicode.js +352 -0
  37. package/dist/encoding-standard-tables.cjs +531 -0
  38. package/dist/encoding-standard-tables.d.cts +7 -0
  39. package/dist/encoding-standard-tables.d.ts +7 -0
  40. package/dist/encoding-standard-tables.js +527 -0
  41. package/dist/encoding-symbol-tables.cjs +531 -0
  42. package/dist/encoding-symbol-tables.d.cts +7 -0
  43. package/dist/encoding-symbol-tables.d.ts +7 -0
  44. package/dist/encoding-symbol-tables.js +527 -0
  45. package/dist/encoding.cjs +1 -9
  46. package/dist/encoding.d.cts +1 -9
  47. package/dist/encoding.d.ts +1 -9
  48. package/dist/encoding.js +2 -2
  49. package/dist/encrypt.d.cts +1 -1
  50. package/dist/encrypt.d.ts +1 -1
  51. package/dist/filters.d.cts +1 -1
  52. package/dist/filters.d.ts +1 -1
  53. package/dist/font-read.cjs +4 -3
  54. package/dist/font-read.d.cts +2 -2
  55. package/dist/font-read.d.ts +2 -2
  56. package/dist/font-read.js +2 -1
  57. package/dist/font-registry.d.cts +1 -1
  58. package/dist/font-registry.d.ts +1 -1
  59. package/dist/form.d.cts +2 -2
  60. package/dist/form.d.ts +2 -2
  61. package/dist/gdef-table-D0Hzn4KD.d.cts +15 -0
  62. package/dist/gdef-table-DL0V8wEZ.d.ts +15 -0
  63. package/dist/gdef-table.d.cts +1 -14
  64. package/dist/gdef-table.d.ts +1 -14
  65. package/dist/glyf-contours.d.cts +12 -1
  66. package/dist/glyf-contours.d.ts +12 -1
  67. package/dist/gsub-context.cjs +13 -0
  68. package/dist/gsub-context.d.cts +34 -0
  69. package/dist/gsub-context.d.ts +34 -0
  70. package/dist/gsub-context.js +2 -0
  71. package/dist/gsub-table-BDpJWqpf.d.ts +52 -0
  72. package/dist/gsub-table-D6niKeLi.js +556 -0
  73. package/dist/gsub-table-DW7Wmi9V.d.cts +52 -0
  74. package/dist/gsub-table-hFfYmf1W.cjs +741 -0
  75. package/dist/gsub-table.cjs +21 -556
  76. package/dist/gsub-table.d.cts +2 -2
  77. package/dist/gsub-table.d.ts +2 -2
  78. package/dist/gsub-table.js +2 -554
  79. package/dist/images-read.d.cts +2 -2
  80. package/dist/images-read.d.ts +2 -2
  81. package/dist/index.cjs +6 -6
  82. package/dist/index.d.cts +2 -2
  83. package/dist/index.d.ts +2 -2
  84. package/dist/index.js +6 -6
  85. package/dist/interpret-CqXdXgkY.cjs +712 -0
  86. package/dist/interpret-aWWhdIzr.js +677 -0
  87. package/dist/interpret-colors.cjs +6 -0
  88. package/dist/interpret-colors.d.cts +9 -0
  89. package/dist/interpret-colors.d.ts +9 -0
  90. package/dist/interpret-colors.js +2 -0
  91. package/dist/interpret-marked.cjs +25 -0
  92. package/dist/interpret-marked.d.cts +11 -0
  93. package/dist/interpret-marked.d.ts +11 -0
  94. package/dist/interpret-marked.js +23 -0
  95. package/dist/interpret-shapes.cjs +212 -0
  96. package/dist/interpret-shapes.d.cts +32 -0
  97. package/dist/interpret-shapes.d.ts +32 -0
  98. package/dist/interpret-shapes.js +199 -0
  99. package/dist/interpret-types.cjs +0 -0
  100. package/dist/interpret-types.d.cts +123 -0
  101. package/dist/interpret-types.d.ts +123 -0
  102. package/dist/interpret-types.js +0 -0
  103. package/dist/interpret.cjs +3 -887
  104. package/dist/interpret.d.cts +5 -116
  105. package/dist/interpret.d.ts +5 -116
  106. package/dist/interpret.js +2 -887
  107. package/dist/math-font.cjs +1 -1
  108. package/dist/math-font.js +1 -1
  109. package/dist/measure.cjs +1 -1
  110. package/dist/measure.js +1 -1
  111. package/dist/names.d.cts +2 -2
  112. package/dist/names.d.ts +2 -2
  113. package/dist/navigation.d.cts +2 -2
  114. package/dist/navigation.d.ts +2 -2
  115. package/dist/optional-content.d.cts +2 -2
  116. package/dist/optional-content.d.ts +2 -2
  117. package/dist/ot-layout-common-BcsGRFBS.d.cts +10 -0
  118. package/dist/ot-layout-common-BcsGRFBS.d.ts +10 -0
  119. package/dist/ot-layout-common.d.cts +1 -9
  120. package/dist/ot-layout-common.d.ts +1 -9
  121. package/dist/parse.d.cts +1 -1
  122. package/dist/parse.d.ts +1 -1
  123. package/dist/predictors.d.cts +1 -1
  124. package/dist/predictors.d.ts +1 -1
  125. package/dist/raster-Cdm3idP_.js +794 -0
  126. package/dist/raster-EG2KYRZ0.cjs +829 -0
  127. package/dist/raster-text.cjs +5 -0
  128. package/dist/raster-text.d.cts +20 -0
  129. package/dist/raster-text.d.ts +20 -0
  130. package/dist/raster-text.js +2 -0
  131. package/dist/raster.cjs +4 -795
  132. package/dist/raster.d.cts +17 -6
  133. package/dist/raster.d.ts +17 -6
  134. package/dist/raster.js +2 -792
  135. package/dist/read-convert.cjs +310 -0
  136. package/dist/read-convert.d.cts +58 -0
  137. package/dist/read-convert.d.ts +58 -0
  138. package/dist/read-convert.js +295 -0
  139. package/dist/read.cjs +5 -293
  140. package/dist/read.d.cts +1 -1
  141. package/dist/read.d.ts +1 -1
  142. package/dist/read.js +4 -292
  143. package/dist/structure.d.cts +2 -2
  144. package/dist/structure.d.ts +2 -2
  145. package/dist/winansi.cjs +1 -1
  146. package/dist/winansi.js +1 -1
  147. package/dist/write-annotations.cjs +132 -0
  148. package/dist/write-annotations.d.cts +29 -0
  149. package/dist/write-annotations.d.ts +29 -0
  150. package/dist/write-annotations.js +121 -0
  151. package/dist/write-font-objects.cjs +76 -0
  152. package/dist/write-font-objects.d.cts +35 -0
  153. package/dist/write-font-objects.d.ts +35 -0
  154. package/dist/write-font-objects.js +75 -0
  155. package/dist/write-form.cjs +91 -0
  156. package/dist/write-form.d.cts +19 -0
  157. package/dist/write-form.d.ts +19 -0
  158. package/dist/write-form.js +89 -0
  159. package/dist/write-images.cjs +148 -0
  160. package/dist/write-images.d.cts +25 -0
  161. package/dist/write-images.d.ts +25 -0
  162. package/dist/write-images.js +140 -0
  163. package/dist/write-outline.cjs +46 -0
  164. package/dist/write-outline.d.cts +18 -0
  165. package/dist/write-outline.d.ts +18 -0
  166. package/dist/write-outline.js +45 -0
  167. package/dist/write-page-emit.cjs +97 -0
  168. package/dist/write-page-emit.d.cts +63 -0
  169. package/dist/write-page-emit.d.ts +63 -0
  170. package/dist/write-page-emit.js +96 -0
  171. package/dist/write-pages.cjs +37 -0
  172. package/dist/write-pages.d.cts +21 -0
  173. package/dist/write-pages.d.ts +21 -0
  174. package/dist/write-pages.js +36 -0
  175. package/dist/write-strings.cjs +41 -0
  176. package/dist/write-strings.d.cts +9 -0
  177. package/dist/write-strings.d.ts +9 -0
  178. package/dist/write-strings.js +37 -0
  179. package/dist/write.cjs +53 -553
  180. package/dist/write.d.cts +1 -1
  181. package/dist/write.d.ts +1 -1
  182. package/dist/write.js +49 -549
  183. package/dist/xref.d.cts +1 -1
  184. package/dist/xref.d.ts +1 -1
  185. package/package.json +1 -1
  186. package/dist/glyf-contours-B1PsI9oA.d.ts +0 -13
  187. package/dist/glyf-contours-NHBpgks-.d.cts +0 -13
  188. package/dist/gsub-table-Bm9kSMzk.d.cts +0 -16
  189. package/dist/gsub-table-CdfESH2-.d.ts +0 -16
@@ -0,0 +1,527 @@
1
+ //#region src/encoding-symbol-tables.ts
2
+ const SYMBOL_GLYPH_NAMES = [
3
+ "",
4
+ "",
5
+ "",
6
+ "",
7
+ "",
8
+ "",
9
+ "",
10
+ "",
11
+ "",
12
+ "",
13
+ "",
14
+ "",
15
+ "",
16
+ "",
17
+ "",
18
+ "",
19
+ "",
20
+ "",
21
+ "",
22
+ "",
23
+ "",
24
+ "",
25
+ "",
26
+ "",
27
+ "",
28
+ "",
29
+ "",
30
+ "",
31
+ "",
32
+ "",
33
+ "",
34
+ "",
35
+ "space",
36
+ "exclam",
37
+ "universal",
38
+ "numbersign",
39
+ "existential",
40
+ "percent",
41
+ "ampersand",
42
+ "suchthat",
43
+ "parenleft",
44
+ "parenright",
45
+ "asteriskmath",
46
+ "plus",
47
+ "comma",
48
+ "minus",
49
+ "period",
50
+ "slash",
51
+ "zero",
52
+ "one",
53
+ "two",
54
+ "three",
55
+ "four",
56
+ "five",
57
+ "six",
58
+ "seven",
59
+ "eight",
60
+ "nine",
61
+ "colon",
62
+ "semicolon",
63
+ "less",
64
+ "equal",
65
+ "greater",
66
+ "question",
67
+ "congruent",
68
+ "Alpha",
69
+ "Beta",
70
+ "Chi",
71
+ "Delta",
72
+ "Epsilon",
73
+ "Phi",
74
+ "Gamma",
75
+ "Eta",
76
+ "Iota",
77
+ "theta1",
78
+ "Kappa",
79
+ "Lambda",
80
+ "Mu",
81
+ "Nu",
82
+ "Omicron",
83
+ "Pi",
84
+ "Theta",
85
+ "Rho",
86
+ "Sigma",
87
+ "Tau",
88
+ "Upsilon",
89
+ "sigma1",
90
+ "Omega",
91
+ "Xi",
92
+ "Psi",
93
+ "Zeta",
94
+ "bracketleft",
95
+ "therefore",
96
+ "bracketright",
97
+ "perpendicular",
98
+ "underscore",
99
+ "radicalex",
100
+ "alpha",
101
+ "beta",
102
+ "chi",
103
+ "delta",
104
+ "epsilon",
105
+ "phi",
106
+ "gamma",
107
+ "eta",
108
+ "iota",
109
+ "phi1",
110
+ "kappa",
111
+ "lambda",
112
+ "mu",
113
+ "nu",
114
+ "omicron",
115
+ "pi",
116
+ "theta",
117
+ "rho",
118
+ "sigma",
119
+ "tau",
120
+ "upsilon",
121
+ "omega1",
122
+ "omega",
123
+ "xi",
124
+ "psi",
125
+ "zeta",
126
+ "braceleft",
127
+ "bar",
128
+ "braceright",
129
+ "similar",
130
+ "",
131
+ "",
132
+ "",
133
+ "",
134
+ "",
135
+ "",
136
+ "",
137
+ "",
138
+ "",
139
+ "",
140
+ "",
141
+ "",
142
+ "",
143
+ "",
144
+ "",
145
+ "",
146
+ "",
147
+ "",
148
+ "",
149
+ "",
150
+ "",
151
+ "",
152
+ "",
153
+ "",
154
+ "",
155
+ "",
156
+ "",
157
+ "",
158
+ "",
159
+ "",
160
+ "",
161
+ "",
162
+ "",
163
+ "Euro",
164
+ "Upsilon1",
165
+ "minute",
166
+ "lessequal",
167
+ "fraction",
168
+ "infinity",
169
+ "florin",
170
+ "club",
171
+ "diamond",
172
+ "heart",
173
+ "spade",
174
+ "arrowboth",
175
+ "arrowleft",
176
+ "arrowup",
177
+ "arrowright",
178
+ "arrowdown",
179
+ "degree",
180
+ "plusminus",
181
+ "second",
182
+ "greaterequal",
183
+ "multiply",
184
+ "proportional",
185
+ "partialdiff",
186
+ "bullet",
187
+ "divide",
188
+ "notequal",
189
+ "equivalence",
190
+ "approxequal",
191
+ "ellipsis",
192
+ "arrowvertex",
193
+ "arrowhorizex",
194
+ "carriagereturn",
195
+ "aleph",
196
+ "Ifraktur",
197
+ "Rfraktur",
198
+ "weierstrass",
199
+ "circlemultiply",
200
+ "circleplus",
201
+ "emptyset",
202
+ "intersection",
203
+ "union",
204
+ "propersuperset",
205
+ "reflexsuperset",
206
+ "notsubset",
207
+ "propersubset",
208
+ "reflexsubset",
209
+ "element",
210
+ "notelement",
211
+ "angle",
212
+ "gradient",
213
+ "registerserif",
214
+ "copyrightserif",
215
+ "trademarkserif",
216
+ "product",
217
+ "radical",
218
+ "dotmath",
219
+ "logicalnot",
220
+ "logicaland",
221
+ "logicalor",
222
+ "arrowdblboth",
223
+ "arrowdblleft",
224
+ "arrowdblup",
225
+ "arrowdblright",
226
+ "arrowdbldown",
227
+ "lozenge",
228
+ "angleleft",
229
+ "registersans",
230
+ "copyrightsans",
231
+ "trademarksans",
232
+ "summation",
233
+ "parenlefttp",
234
+ "parenleftex",
235
+ "parenleftbt",
236
+ "bracketlefttp",
237
+ "bracketleftex",
238
+ "bracketleftbt",
239
+ "bracelefttp",
240
+ "braceleftmid",
241
+ "braceleftbt",
242
+ "braceex",
243
+ "",
244
+ "angleright",
245
+ "integral",
246
+ "integraltp",
247
+ "integralex",
248
+ "integralbt",
249
+ "parenrighttp",
250
+ "parenrightex",
251
+ "parenrightbt",
252
+ "bracketrighttp",
253
+ "bracketrightex",
254
+ "bracketrightbt",
255
+ "bracerighttp",
256
+ "bracerightmid",
257
+ "bracerightbt",
258
+ ""
259
+ ];
260
+ function symbolGlyphName(code) {
261
+ const name = SYMBOL_GLYPH_NAMES[code];
262
+ return name === void 0 || name === "" ? void 0 : name;
263
+ }
264
+ const ZAPFDINGBATS_GLYPH_NAMES = [
265
+ "",
266
+ "",
267
+ "",
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
+ "space",
298
+ "a1",
299
+ "a2",
300
+ "a202",
301
+ "a3",
302
+ "a4",
303
+ "a5",
304
+ "a119",
305
+ "a118",
306
+ "a117",
307
+ "a11",
308
+ "a12",
309
+ "a13",
310
+ "a14",
311
+ "a15",
312
+ "a16",
313
+ "a105",
314
+ "a17",
315
+ "a18",
316
+ "a19",
317
+ "a20",
318
+ "a21",
319
+ "a22",
320
+ "a23",
321
+ "a24",
322
+ "a25",
323
+ "a26",
324
+ "a27",
325
+ "a28",
326
+ "a6",
327
+ "a7",
328
+ "a8",
329
+ "a9",
330
+ "a10",
331
+ "a29",
332
+ "a30",
333
+ "a31",
334
+ "a32",
335
+ "a33",
336
+ "a34",
337
+ "a35",
338
+ "a36",
339
+ "a37",
340
+ "a38",
341
+ "a39",
342
+ "a40",
343
+ "a41",
344
+ "a42",
345
+ "a43",
346
+ "a44",
347
+ "a45",
348
+ "a46",
349
+ "a47",
350
+ "a48",
351
+ "a49",
352
+ "a50",
353
+ "a51",
354
+ "a52",
355
+ "a53",
356
+ "a54",
357
+ "a55",
358
+ "a56",
359
+ "a57",
360
+ "a58",
361
+ "a59",
362
+ "a60",
363
+ "a61",
364
+ "a62",
365
+ "a63",
366
+ "a64",
367
+ "a65",
368
+ "a66",
369
+ "a67",
370
+ "a68",
371
+ "a69",
372
+ "a70",
373
+ "a71",
374
+ "a72",
375
+ "a73",
376
+ "a74",
377
+ "a203",
378
+ "a75",
379
+ "a204",
380
+ "a76",
381
+ "a77",
382
+ "a78",
383
+ "a79",
384
+ "a81",
385
+ "a82",
386
+ "a83",
387
+ "a84",
388
+ "a97",
389
+ "a98",
390
+ "a99",
391
+ "a100",
392
+ "",
393
+ "a89",
394
+ "a90",
395
+ "a93",
396
+ "a94",
397
+ "a91",
398
+ "a92",
399
+ "a205",
400
+ "a85",
401
+ "a206",
402
+ "a86",
403
+ "a87",
404
+ "a88",
405
+ "a95",
406
+ "a96",
407
+ "",
408
+ "",
409
+ "",
410
+ "",
411
+ "",
412
+ "",
413
+ "",
414
+ "",
415
+ "",
416
+ "",
417
+ "",
418
+ "",
419
+ "",
420
+ "",
421
+ "",
422
+ "",
423
+ "",
424
+ "",
425
+ "",
426
+ "a101",
427
+ "a102",
428
+ "a103",
429
+ "a104",
430
+ "a106",
431
+ "a107",
432
+ "a108",
433
+ "a112",
434
+ "a111",
435
+ "a110",
436
+ "a109",
437
+ "a120",
438
+ "a121",
439
+ "a122",
440
+ "a123",
441
+ "a124",
442
+ "a125",
443
+ "a126",
444
+ "a127",
445
+ "a128",
446
+ "a129",
447
+ "a130",
448
+ "a131",
449
+ "a132",
450
+ "a133",
451
+ "a134",
452
+ "a135",
453
+ "a136",
454
+ "a137",
455
+ "a138",
456
+ "a139",
457
+ "a140",
458
+ "a141",
459
+ "a142",
460
+ "a143",
461
+ "a144",
462
+ "a145",
463
+ "a146",
464
+ "a147",
465
+ "a148",
466
+ "a149",
467
+ "a150",
468
+ "a151",
469
+ "a152",
470
+ "a153",
471
+ "a154",
472
+ "a155",
473
+ "a156",
474
+ "a157",
475
+ "a158",
476
+ "a159",
477
+ "a160",
478
+ "a161",
479
+ "a163",
480
+ "a164",
481
+ "a196",
482
+ "a165",
483
+ "a192",
484
+ "a166",
485
+ "a167",
486
+ "a168",
487
+ "a169",
488
+ "a170",
489
+ "a171",
490
+ "a172",
491
+ "a173",
492
+ "a162",
493
+ "a174",
494
+ "a175",
495
+ "a176",
496
+ "a177",
497
+ "a178",
498
+ "a179",
499
+ "a193",
500
+ "a180",
501
+ "a199",
502
+ "a181",
503
+ "a200",
504
+ "a182",
505
+ "",
506
+ "a201",
507
+ "a183",
508
+ "a184",
509
+ "a197",
510
+ "a185",
511
+ "a194",
512
+ "a198",
513
+ "a186",
514
+ "a195",
515
+ "a187",
516
+ "a188",
517
+ "a189",
518
+ "a190",
519
+ "a191",
520
+ ""
521
+ ];
522
+ function zapfDingbatsGlyphName(code) {
523
+ const name = ZAPFDINGBATS_GLYPH_NAMES[code];
524
+ return name === void 0 || name === "" ? void 0 : name;
525
+ }
526
+ //#endregion
527
+ export { SYMBOL_GLYPH_NAMES, ZAPFDINGBATS_GLYPH_NAMES, symbolGlyphName, zapfDingbatsGlyphName };
package/dist/encoding.cjs CHANGED
@@ -1,14 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_afm_widths = require("./afm-widths-BHD2HZIL.cjs");
3
- exports.MACROMAN_GLYPH_NAMES = require_afm_widths.MACROMAN_GLYPH_NAMES;
4
- exports.STANDARD_GLYPH_NAMES = require_afm_widths.STANDARD_GLYPH_NAMES;
5
- exports.SYMBOL_GLYPH_NAMES = require_afm_widths.SYMBOL_GLYPH_NAMES;
2
+ const require_afm_widths = require("./afm-widths-C6U0SQj9.cjs");
6
3
  exports.WINANSI_GLYPH_NAMES = require_afm_widths.WINANSI_GLYPH_NAMES;
7
- exports.ZAPFDINGBATS_GLYPH_NAMES = require_afm_widths.ZAPFDINGBATS_GLYPH_NAMES;
8
4
  exports.glyphNameToUnicode = require_afm_widths.glyphNameToUnicode;
9
- exports.macRomanGlyphName = require_afm_widths.macRomanGlyphName;
10
5
  exports.namedEncodingGlyphName = require_afm_widths.namedEncodingGlyphName;
11
- exports.standardGlyphName = require_afm_widths.standardGlyphName;
12
- exports.symbolGlyphName = require_afm_widths.symbolGlyphName;
13
6
  exports.winAnsiGlyphName = require_afm_widths.winAnsiGlyphName;
14
- exports.zapfDingbatsGlyphName = require_afm_widths.zapfDingbatsGlyphName;
@@ -1,15 +1,7 @@
1
1
  //#region src/encoding.d.ts
2
2
  declare const WINANSI_GLYPH_NAMES: readonly string[];
3
3
  declare function winAnsiGlyphName(code: number): string | undefined;
4
- declare const SYMBOL_GLYPH_NAMES: readonly string[];
5
- declare function symbolGlyphName(code: number): string | undefined;
6
- declare const ZAPFDINGBATS_GLYPH_NAMES: readonly string[];
7
- declare const STANDARD_GLYPH_NAMES: readonly string[];
8
- declare function standardGlyphName(code: number): string | undefined;
9
- declare const MACROMAN_GLYPH_NAMES: readonly string[];
10
- declare function macRomanGlyphName(code: number): string | undefined;
11
4
  declare function namedEncodingGlyphName(encodingName: string): ((code: number) => string | undefined) | undefined;
12
- declare function zapfDingbatsGlyphName(code: number): string | undefined;
13
5
  declare function glyphNameToUnicode(name: string): number | undefined;
14
6
  //#endregion
15
- export { MACROMAN_GLYPH_NAMES, STANDARD_GLYPH_NAMES, SYMBOL_GLYPH_NAMES, WINANSI_GLYPH_NAMES, ZAPFDINGBATS_GLYPH_NAMES, glyphNameToUnicode, macRomanGlyphName, namedEncodingGlyphName, standardGlyphName, symbolGlyphName, winAnsiGlyphName, zapfDingbatsGlyphName };
7
+ export { WINANSI_GLYPH_NAMES, glyphNameToUnicode, namedEncodingGlyphName, winAnsiGlyphName };
@@ -1,15 +1,7 @@
1
1
  //#region src/encoding.d.ts
2
2
  declare const WINANSI_GLYPH_NAMES: readonly string[];
3
3
  declare function winAnsiGlyphName(code: number): string | undefined;
4
- declare const SYMBOL_GLYPH_NAMES: readonly string[];
5
- declare function symbolGlyphName(code: number): string | undefined;
6
- declare const ZAPFDINGBATS_GLYPH_NAMES: readonly string[];
7
- declare const STANDARD_GLYPH_NAMES: readonly string[];
8
- declare function standardGlyphName(code: number): string | undefined;
9
- declare const MACROMAN_GLYPH_NAMES: readonly string[];
10
- declare function macRomanGlyphName(code: number): string | undefined;
11
4
  declare function namedEncodingGlyphName(encodingName: string): ((code: number) => string | undefined) | undefined;
12
- declare function zapfDingbatsGlyphName(code: number): string | undefined;
13
5
  declare function glyphNameToUnicode(name: string): number | undefined;
14
6
  //#endregion
15
- export { MACROMAN_GLYPH_NAMES, STANDARD_GLYPH_NAMES, SYMBOL_GLYPH_NAMES, WINANSI_GLYPH_NAMES, ZAPFDINGBATS_GLYPH_NAMES, glyphNameToUnicode, macRomanGlyphName, namedEncodingGlyphName, standardGlyphName, symbolGlyphName, winAnsiGlyphName, zapfDingbatsGlyphName };
7
+ export { WINANSI_GLYPH_NAMES, glyphNameToUnicode, namedEncodingGlyphName, winAnsiGlyphName };
package/dist/encoding.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as SYMBOL_GLYPH_NAMES, c as glyphNameToUnicode, d as standardGlyphName, f as symbolGlyphName, i as STANDARD_GLYPH_NAMES, l as macRomanGlyphName, m as zapfDingbatsGlyphName, o as WINANSI_GLYPH_NAMES, p as winAnsiGlyphName, r as MACROMAN_GLYPH_NAMES, s as ZAPFDINGBATS_GLYPH_NAMES, u as namedEncodingGlyphName } from "./afm-widths-B_IGbGky.js";
2
- export { MACROMAN_GLYPH_NAMES, STANDARD_GLYPH_NAMES, SYMBOL_GLYPH_NAMES, WINANSI_GLYPH_NAMES, ZAPFDINGBATS_GLYPH_NAMES, glyphNameToUnicode, macRomanGlyphName, namedEncodingGlyphName, standardGlyphName, symbolGlyphName, winAnsiGlyphName, zapfDingbatsGlyphName };
1
+ import { a as namedEncodingGlyphName, i as glyphNameToUnicode, o as winAnsiGlyphName, r as WINANSI_GLYPH_NAMES } from "./afm-widths-p3UfaXme.js";
2
+ export { WINANSI_GLYPH_NAMES, glyphNameToUnicode, namedEncodingGlyphName, winAnsiGlyphName };
@@ -1,4 +1,4 @@
1
- import { PdfDiagnosticSink } from "./diagnostics.cjs";
1
+ import { i as PdfDiagnosticSink } from "./diagnostics-C9FxfZ6H.cjs";
2
2
  import { n as PdfDict } from "./objects-e2RS3-yT.cjs";
3
3
  //#region src/encrypt.d.ts
4
4
  type CipherMethod = "identity" | "rc4" | "aes";
package/dist/encrypt.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { PdfDiagnosticSink } from "./diagnostics.js";
1
+ import { i as PdfDiagnosticSink } from "./diagnostics-C9FxfZ6H.js";
2
2
  import { n as PdfDict } from "./objects-e2RS3-yT.js";
3
3
  //#region src/encrypt.d.ts
4
4
  type CipherMethod = "identity" | "rc4" | "aes";
@@ -1,4 +1,4 @@
1
- import { PdfDiagnosticSink } from "./diagnostics.cjs";
1
+ import { i as PdfDiagnosticSink } from "./diagnostics-C9FxfZ6H.cjs";
2
2
  import { n as PdfDict, r as PdfObject } from "./objects-e2RS3-yT.cjs";
3
3
  //#region src/filters.d.ts
4
4
  interface DecodedStream {
package/dist/filters.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { PdfDiagnosticSink } from "./diagnostics.js";
1
+ import { i as PdfDiagnosticSink } from "./diagnostics-C9FxfZ6H.js";
2
2
  import { n as PdfDict, r as PdfObject } from "./objects-e2RS3-yT.js";
3
3
  //#region src/filters.d.ts
4
4
  interface DecodedStream {
@@ -1,9 +1,10 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_afm_widths = require("./afm-widths-BHD2HZIL.cjs");
2
+ const require_afm_widths = require("./afm-widths-C6U0SQj9.cjs");
3
3
  const require_objects = require("./objects.cjs");
4
4
  const require_filters = require("./filters.cjs");
5
5
  const require_builtin_encoding = require("./builtin-encoding.cjs");
6
6
  const require_cmap = require("./cmap.cjs");
7
+ const require_encoding_symbol_tables = require("./encoding-symbol-tables.cjs");
7
8
  const require_fonts = require("./fonts.cjs");
8
9
  const require_font_style = require("./font-style.cjs");
9
10
  //#region src/font-read.ts
@@ -22,8 +23,8 @@ function styleFlagsFromDescriptor(descriptor) {
22
23
  };
23
24
  }
24
25
  function builtinSymbolGlyphNameLookup(baseFamily) {
25
- if (baseFamily === "Symbol") return require_afm_widths.symbolGlyphName;
26
- if (baseFamily === "ZapfDingbats") return require_afm_widths.zapfDingbatsGlyphName;
26
+ if (baseFamily === "Symbol") return require_encoding_symbol_tables.symbolGlyphName;
27
+ if (baseFamily === "ZapfDingbats") return require_encoding_symbol_tables.zapfDingbatsGlyphName;
27
28
  }
28
29
  function readFontProgram(descriptor, context) {
29
30
  if (descriptor === void 0) return;
@@ -1,6 +1,6 @@
1
- import { PdfDiagnosticSink } from "./diagnostics.cjs";
1
+ import { i as PdfDiagnosticSink } from "./diagnostics-C9FxfZ6H.cjs";
2
2
  import { n as PdfDict } from "./objects-e2RS3-yT.cjs";
3
- import { FontMetricsPort, PdfObjectResolver } from "./interpret.cjs";
3
+ import { FontMetricsPort, PdfObjectResolver } from "./interpret-types.cjs";
4
4
  //#region src/font-read.d.ts
5
5
  interface VerticalGlyphMetrics {
6
6
  readonly displacementY: number;
@@ -1,6 +1,6 @@
1
- import { PdfDiagnosticSink } from "./diagnostics.js";
1
+ import { i as PdfDiagnosticSink } from "./diagnostics-C9FxfZ6H.js";
2
2
  import { n as PdfDict } from "./objects-e2RS3-yT.js";
3
- import { FontMetricsPort, PdfObjectResolver } from "./interpret.js";
3
+ import { FontMetricsPort, PdfObjectResolver } from "./interpret-types.js";
4
4
  //#region src/font-read.d.ts
5
5
  interface VerticalGlyphMetrics {
6
6
  readonly displacementY: number;
package/dist/font-read.js CHANGED
@@ -1,8 +1,9 @@
1
- import { c as glyphNameToUnicode, f as symbolGlyphName, m as zapfDingbatsGlyphName, n as widthOfCode, p as winAnsiGlyphName, u as namedEncodingGlyphName } from "./afm-widths-B_IGbGky.js";
1
+ import { a as namedEncodingGlyphName, i as glyphNameToUnicode, n as widthOfCode, o as winAnsiGlyphName } from "./afm-widths-p3UfaXme.js";
2
2
  import { asArray, asName, asNumber, dictGet, isName } from "./objects.js";
3
3
  import { decodeStream } from "./filters.js";
4
4
  import { readFontProgramEncoding } from "./builtin-encoding.js";
5
5
  import { parseToUnicodeCMap } from "./cmap.js";
6
+ import { symbolGlyphName, zapfDingbatsGlyphName } from "./encoding-symbol-tables.js";
6
7
  import { resolveStandardFont } from "./fonts.js";
7
8
  import { styleFromBaseFontName } from "./font-style.js";
8
9
  //#region src/font-read.ts
@@ -1,5 +1,5 @@
1
1
  import { r as StandardFontName } from "./afm-widths-CneRyu5l.cjs";
2
- import { t as EmbeddedFace } from "./embedded-font-DgVBedw6.cjs";
2
+ import { t as EmbeddedFace } from "./embedded-font-CqePfvrl.cjs";
3
3
  import { FontRegistryOptions, LayoutFont } from "document-schema.js";
4
4
  //#region src/font-registry.d.ts
5
5
  type ResolvedFace = {
@@ -1,5 +1,5 @@
1
1
  import { r as StandardFontName } from "./afm-widths-CneRyu5l.js";
2
- import { t as EmbeddedFace } from "./embedded-font-ByD7ZiQS.js";
2
+ import { t as EmbeddedFace } from "./embedded-font-CQZbTTDM.js";
3
3
  import { FontRegistryOptions, LayoutFont } from "document-schema.js";
4
4
  //#region src/font-registry.d.ts
5
5
  type ResolvedFace = {
package/dist/form.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- import { PdfDiagnosticSink } from "./diagnostics.cjs";
1
+ import { i as PdfDiagnosticSink } from "./diagnostics-C9FxfZ6H.cjs";
2
2
  import { n as PdfDict } from "./objects-e2RS3-yT.cjs";
3
- import { PdfObjectResolver } from "./interpret.cjs";
3
+ import { PdfObjectResolver } from "./interpret-types.cjs";
4
4
  import { LayoutFormField } from "./layout.cjs";
5
5
  import { PageIndexLookup } from "./navigation.cjs";
6
6
  //#region src/form.d.ts