pdfnative 1.0.0 → 1.0.1
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/dist/index.cjs +22 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +22 -3
- package/dist/index.js.map +1 -1
- package/dist/worker/index.cjs +22 -3
- package/dist/worker/index.cjs.map +1 -1
- package/dist/worker/index.js +22 -3
- package/dist/worker/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2404,13 +2404,32 @@ function toWinAnsi(str) {
|
|
|
2404
2404
|
if (c >= 32 && c <= 126) r += str[i];
|
|
2405
2405
|
else if (c >= 160 && c <= 255) r += str[i];
|
|
2406
2406
|
else if (c === 8364) r += "\x80";
|
|
2407
|
-
else if (c ===
|
|
2408
|
-
else if (c ===
|
|
2407
|
+
else if (c === 8218) r += "\x82";
|
|
2408
|
+
else if (c === 402) r += "\x83";
|
|
2409
|
+
else if (c === 8222) r += "\x84";
|
|
2410
|
+
else if (c === 8230) r += "\x85";
|
|
2411
|
+
else if (c === 8224) r += "\x86";
|
|
2412
|
+
else if (c === 8225) r += "\x87";
|
|
2413
|
+
else if (c === 710) r += "\x88";
|
|
2414
|
+
else if (c === 8240) r += "\x89";
|
|
2415
|
+
else if (c === 352) r += "\x8A";
|
|
2416
|
+
else if (c === 8249) r += "\x8B";
|
|
2417
|
+
else if (c === 338) r += "\x8C";
|
|
2418
|
+
else if (c === 381) r += "\x8E";
|
|
2409
2419
|
else if (c === 8216) r += "\x91";
|
|
2410
2420
|
else if (c === 8217) r += "\x92";
|
|
2411
2421
|
else if (c === 8220) r += "\x93";
|
|
2412
2422
|
else if (c === 8221) r += "\x94";
|
|
2413
|
-
else if (c ===
|
|
2423
|
+
else if (c === 8226) r += "\x95";
|
|
2424
|
+
else if (c === 8211) r += "\x96";
|
|
2425
|
+
else if (c === 8212) r += "\x97";
|
|
2426
|
+
else if (c === 732) r += "\x98";
|
|
2427
|
+
else if (c === 8482) r += "\x99";
|
|
2428
|
+
else if (c === 353) r += "\x9A";
|
|
2429
|
+
else if (c === 8250) r += "\x9B";
|
|
2430
|
+
else if (c === 339) r += "\x9C";
|
|
2431
|
+
else if (c === 382) r += "\x9E";
|
|
2432
|
+
else if (c === 376) r += "\x9F";
|
|
2414
2433
|
else if (c === 160 || c === 8239) r += " ";
|
|
2415
2434
|
else if (c === 9 || c === 10 || c === 13) r += " ";
|
|
2416
2435
|
else if (c < 32) ; else r += "?";
|