Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/embedpre.../assets/pdf/build
File: pdf.worker.js
t.a12 = 0x261e;
[20500] Fix | Delete
t.a13 = 0x270c;
[20501] Fix | Delete
t.a14 = 0x270d;
[20502] Fix | Delete
t.a15 = 0x270e;
[20503] Fix | Delete
t.a16 = 0x270f;
[20504] Fix | Delete
t.a105 = 0x2710;
[20505] Fix | Delete
t.a17 = 0x2711;
[20506] Fix | Delete
t.a18 = 0x2712;
[20507] Fix | Delete
t.a19 = 0x2713;
[20508] Fix | Delete
t.a20 = 0x2714;
[20509] Fix | Delete
t.a21 = 0x2715;
[20510] Fix | Delete
t.a22 = 0x2716;
[20511] Fix | Delete
t.a23 = 0x2717;
[20512] Fix | Delete
t.a24 = 0x2718;
[20513] Fix | Delete
t.a25 = 0x2719;
[20514] Fix | Delete
t.a26 = 0x271a;
[20515] Fix | Delete
t.a27 = 0x271b;
[20516] Fix | Delete
t.a28 = 0x271c;
[20517] Fix | Delete
t.a6 = 0x271d;
[20518] Fix | Delete
t.a7 = 0x271e;
[20519] Fix | Delete
t.a8 = 0x271f;
[20520] Fix | Delete
t.a9 = 0x2720;
[20521] Fix | Delete
t.a10 = 0x2721;
[20522] Fix | Delete
t.a29 = 0x2722;
[20523] Fix | Delete
t.a30 = 0x2723;
[20524] Fix | Delete
t.a31 = 0x2724;
[20525] Fix | Delete
t.a32 = 0x2725;
[20526] Fix | Delete
t.a33 = 0x2726;
[20527] Fix | Delete
t.a34 = 0x2727;
[20528] Fix | Delete
t.a35 = 0x2605;
[20529] Fix | Delete
t.a36 = 0x2729;
[20530] Fix | Delete
t.a37 = 0x272a;
[20531] Fix | Delete
t.a38 = 0x272b;
[20532] Fix | Delete
t.a39 = 0x272c;
[20533] Fix | Delete
t.a40 = 0x272d;
[20534] Fix | Delete
t.a41 = 0x272e;
[20535] Fix | Delete
t.a42 = 0x272f;
[20536] Fix | Delete
t.a43 = 0x2730;
[20537] Fix | Delete
t.a44 = 0x2731;
[20538] Fix | Delete
t.a45 = 0x2732;
[20539] Fix | Delete
t.a46 = 0x2733;
[20540] Fix | Delete
t.a47 = 0x2734;
[20541] Fix | Delete
t.a48 = 0x2735;
[20542] Fix | Delete
t.a49 = 0x2736;
[20543] Fix | Delete
t.a50 = 0x2737;
[20544] Fix | Delete
t.a51 = 0x2738;
[20545] Fix | Delete
t.a52 = 0x2739;
[20546] Fix | Delete
t.a53 = 0x273a;
[20547] Fix | Delete
t.a54 = 0x273b;
[20548] Fix | Delete
t.a55 = 0x273c;
[20549] Fix | Delete
t.a56 = 0x273d;
[20550] Fix | Delete
t.a57 = 0x273e;
[20551] Fix | Delete
t.a58 = 0x273f;
[20552] Fix | Delete
t.a59 = 0x2740;
[20553] Fix | Delete
t.a60 = 0x2741;
[20554] Fix | Delete
t.a61 = 0x2742;
[20555] Fix | Delete
t.a62 = 0x2743;
[20556] Fix | Delete
t.a63 = 0x2744;
[20557] Fix | Delete
t.a64 = 0x2745;
[20558] Fix | Delete
t.a65 = 0x2746;
[20559] Fix | Delete
t.a66 = 0x2747;
[20560] Fix | Delete
t.a67 = 0x2748;
[20561] Fix | Delete
t.a68 = 0x2749;
[20562] Fix | Delete
t.a69 = 0x274a;
[20563] Fix | Delete
t.a70 = 0x274b;
[20564] Fix | Delete
t.a71 = 0x25cf;
[20565] Fix | Delete
t.a72 = 0x274d;
[20566] Fix | Delete
t.a73 = 0x25a0;
[20567] Fix | Delete
t.a74 = 0x274f;
[20568] Fix | Delete
t.a203 = 0x2750;
[20569] Fix | Delete
t.a75 = 0x2751;
[20570] Fix | Delete
t.a204 = 0x2752;
[20571] Fix | Delete
t.a76 = 0x25b2;
[20572] Fix | Delete
t.a77 = 0x25bc;
[20573] Fix | Delete
t.a78 = 0x25c6;
[20574] Fix | Delete
t.a79 = 0x2756;
[20575] Fix | Delete
t.a81 = 0x25d7;
[20576] Fix | Delete
t.a82 = 0x2758;
[20577] Fix | Delete
t.a83 = 0x2759;
[20578] Fix | Delete
t.a84 = 0x275a;
[20579] Fix | Delete
t.a97 = 0x275b;
[20580] Fix | Delete
t.a98 = 0x275c;
[20581] Fix | Delete
t.a99 = 0x275d;
[20582] Fix | Delete
t.a100 = 0x275e;
[20583] Fix | Delete
t.a101 = 0x2761;
[20584] Fix | Delete
t.a102 = 0x2762;
[20585] Fix | Delete
t.a103 = 0x2763;
[20586] Fix | Delete
t.a104 = 0x2764;
[20587] Fix | Delete
t.a106 = 0x2765;
[20588] Fix | Delete
t.a107 = 0x2766;
[20589] Fix | Delete
t.a108 = 0x2767;
[20590] Fix | Delete
t.a112 = 0x2663;
[20591] Fix | Delete
t.a111 = 0x2666;
[20592] Fix | Delete
t.a110 = 0x2665;
[20593] Fix | Delete
t.a109 = 0x2660;
[20594] Fix | Delete
t.a120 = 0x2460;
[20595] Fix | Delete
t.a121 = 0x2461;
[20596] Fix | Delete
t.a122 = 0x2462;
[20597] Fix | Delete
t.a123 = 0x2463;
[20598] Fix | Delete
t.a124 = 0x2464;
[20599] Fix | Delete
t.a125 = 0x2465;
[20600] Fix | Delete
t.a126 = 0x2466;
[20601] Fix | Delete
t.a127 = 0x2467;
[20602] Fix | Delete
t.a128 = 0x2468;
[20603] Fix | Delete
t.a129 = 0x2469;
[20604] Fix | Delete
t.a130 = 0x2776;
[20605] Fix | Delete
t.a131 = 0x2777;
[20606] Fix | Delete
t.a132 = 0x2778;
[20607] Fix | Delete
t.a133 = 0x2779;
[20608] Fix | Delete
t.a134 = 0x277a;
[20609] Fix | Delete
t.a135 = 0x277b;
[20610] Fix | Delete
t.a136 = 0x277c;
[20611] Fix | Delete
t.a137 = 0x277d;
[20612] Fix | Delete
t.a138 = 0x277e;
[20613] Fix | Delete
t.a139 = 0x277f;
[20614] Fix | Delete
t.a140 = 0x2780;
[20615] Fix | Delete
t.a141 = 0x2781;
[20616] Fix | Delete
t.a142 = 0x2782;
[20617] Fix | Delete
t.a143 = 0x2783;
[20618] Fix | Delete
t.a144 = 0x2784;
[20619] Fix | Delete
t.a145 = 0x2785;
[20620] Fix | Delete
t.a146 = 0x2786;
[20621] Fix | Delete
t.a147 = 0x2787;
[20622] Fix | Delete
t.a148 = 0x2788;
[20623] Fix | Delete
t.a149 = 0x2789;
[20624] Fix | Delete
t.a150 = 0x278a;
[20625] Fix | Delete
t.a151 = 0x278b;
[20626] Fix | Delete
t.a152 = 0x278c;
[20627] Fix | Delete
t.a153 = 0x278d;
[20628] Fix | Delete
t.a154 = 0x278e;
[20629] Fix | Delete
t.a155 = 0x278f;
[20630] Fix | Delete
t.a156 = 0x2790;
[20631] Fix | Delete
t.a157 = 0x2791;
[20632] Fix | Delete
t.a158 = 0x2792;
[20633] Fix | Delete
t.a159 = 0x2793;
[20634] Fix | Delete
t.a160 = 0x2794;
[20635] Fix | Delete
t.a161 = 0x2192;
[20636] Fix | Delete
t.a163 = 0x2194;
[20637] Fix | Delete
t.a164 = 0x2195;
[20638] Fix | Delete
t.a196 = 0x2798;
[20639] Fix | Delete
t.a165 = 0x2799;
[20640] Fix | Delete
t.a192 = 0x279a;
[20641] Fix | Delete
t.a166 = 0x279b;
[20642] Fix | Delete
t.a167 = 0x279c;
[20643] Fix | Delete
t.a168 = 0x279d;
[20644] Fix | Delete
t.a169 = 0x279e;
[20645] Fix | Delete
t.a170 = 0x279f;
[20646] Fix | Delete
t.a171 = 0x27a0;
[20647] Fix | Delete
t.a172 = 0x27a1;
[20648] Fix | Delete
t.a173 = 0x27a2;
[20649] Fix | Delete
t.a162 = 0x27a3;
[20650] Fix | Delete
t.a174 = 0x27a4;
[20651] Fix | Delete
t.a175 = 0x27a5;
[20652] Fix | Delete
t.a176 = 0x27a6;
[20653] Fix | Delete
t.a177 = 0x27a7;
[20654] Fix | Delete
t.a178 = 0x27a8;
[20655] Fix | Delete
t.a179 = 0x27a9;
[20656] Fix | Delete
t.a193 = 0x27aa;
[20657] Fix | Delete
t.a180 = 0x27ab;
[20658] Fix | Delete
t.a199 = 0x27ac;
[20659] Fix | Delete
t.a181 = 0x27ad;
[20660] Fix | Delete
t.a200 = 0x27ae;
[20661] Fix | Delete
t.a182 = 0x27af;
[20662] Fix | Delete
t.a201 = 0x27b1;
[20663] Fix | Delete
t.a183 = 0x27b2;
[20664] Fix | Delete
t.a184 = 0x27b3;
[20665] Fix | Delete
t.a197 = 0x27b4;
[20666] Fix | Delete
t.a185 = 0x27b5;
[20667] Fix | Delete
t.a194 = 0x27b6;
[20668] Fix | Delete
t.a198 = 0x27b7;
[20669] Fix | Delete
t.a186 = 0x27b8;
[20670] Fix | Delete
t.a195 = 0x27b9;
[20671] Fix | Delete
t.a187 = 0x27ba;
[20672] Fix | Delete
t.a188 = 0x27bb;
[20673] Fix | Delete
t.a189 = 0x27bc;
[20674] Fix | Delete
t.a190 = 0x27bd;
[20675] Fix | Delete
t.a191 = 0x27be;
[20676] Fix | Delete
t.a89 = 0x2768;
[20677] Fix | Delete
t.a90 = 0x2769;
[20678] Fix | Delete
t.a93 = 0x276a;
[20679] Fix | Delete
t.a94 = 0x276b;
[20680] Fix | Delete
t.a91 = 0x276c;
[20681] Fix | Delete
t.a92 = 0x276d;
[20682] Fix | Delete
t.a205 = 0x276e;
[20683] Fix | Delete
t.a85 = 0x276f;
[20684] Fix | Delete
t.a206 = 0x2770;
[20685] Fix | Delete
t.a86 = 0x2771;
[20686] Fix | Delete
t.a87 = 0x2772;
[20687] Fix | Delete
t.a88 = 0x2773;
[20688] Fix | Delete
t.a95 = 0x2774;
[20689] Fix | Delete
t.a96 = 0x2775;
[20690] Fix | Delete
t[".notdef"] = 0x0000;
[20691] Fix | Delete
});
[20692] Fix | Delete
[20693] Fix | Delete
;// CONCATENATED MODULE: ./src/core/unicode.js
[20694] Fix | Delete
[20695] Fix | Delete
const getSpecialPUASymbols = getLookupTableFactory(function (t) {
[20696] Fix | Delete
t[63721] = 0x00a9;
[20697] Fix | Delete
t[63193] = 0x00a9;
[20698] Fix | Delete
t[63720] = 0x00ae;
[20699] Fix | Delete
t[63194] = 0x00ae;
[20700] Fix | Delete
t[63722] = 0x2122;
[20701] Fix | Delete
t[63195] = 0x2122;
[20702] Fix | Delete
t[63729] = 0x23a7;
[20703] Fix | Delete
t[63730] = 0x23a8;
[20704] Fix | Delete
t[63731] = 0x23a9;
[20705] Fix | Delete
t[63740] = 0x23ab;
[20706] Fix | Delete
t[63741] = 0x23ac;
[20707] Fix | Delete
t[63742] = 0x23ad;
[20708] Fix | Delete
t[63726] = 0x23a1;
[20709] Fix | Delete
t[63727] = 0x23a2;
[20710] Fix | Delete
t[63728] = 0x23a3;
[20711] Fix | Delete
t[63737] = 0x23a4;
[20712] Fix | Delete
t[63738] = 0x23a5;
[20713] Fix | Delete
t[63739] = 0x23a6;
[20714] Fix | Delete
t[63723] = 0x239b;
[20715] Fix | Delete
t[63724] = 0x239c;
[20716] Fix | Delete
t[63725] = 0x239d;
[20717] Fix | Delete
t[63734] = 0x239e;
[20718] Fix | Delete
t[63735] = 0x239f;
[20719] Fix | Delete
t[63736] = 0x23a0;
[20720] Fix | Delete
});
[20721] Fix | Delete
function mapSpecialUnicodeValues(code) {
[20722] Fix | Delete
if (code >= 0xfff0 && code <= 0xffff) {
[20723] Fix | Delete
return 0;
[20724] Fix | Delete
} else if (code >= 0xf600 && code <= 0xf8ff) {
[20725] Fix | Delete
return getSpecialPUASymbols()[code] || code;
[20726] Fix | Delete
} else if (code === 0x00ad) {
[20727] Fix | Delete
return 0x002d;
[20728] Fix | Delete
}
[20729] Fix | Delete
return code;
[20730] Fix | Delete
}
[20731] Fix | Delete
function getUnicodeForGlyph(name, glyphsUnicodeMap) {
[20732] Fix | Delete
let unicode = glyphsUnicodeMap[name];
[20733] Fix | Delete
if (unicode !== undefined) {
[20734] Fix | Delete
return unicode;
[20735] Fix | Delete
}
[20736] Fix | Delete
if (!name) {
[20737] Fix | Delete
return -1;
[20738] Fix | Delete
}
[20739] Fix | Delete
if (name[0] === "u") {
[20740] Fix | Delete
const nameLen = name.length;
[20741] Fix | Delete
let hexStr;
[20742] Fix | Delete
if (nameLen === 7 && name[1] === "n" && name[2] === "i") {
[20743] Fix | Delete
hexStr = name.substring(3);
[20744] Fix | Delete
} else if (nameLen >= 5 && nameLen <= 7) {
[20745] Fix | Delete
hexStr = name.substring(1);
[20746] Fix | Delete
} else {
[20747] Fix | Delete
return -1;
[20748] Fix | Delete
}
[20749] Fix | Delete
if (hexStr === hexStr.toUpperCase()) {
[20750] Fix | Delete
unicode = parseInt(hexStr, 16);
[20751] Fix | Delete
if (unicode >= 0) {
[20752] Fix | Delete
return unicode;
[20753] Fix | Delete
}
[20754] Fix | Delete
}
[20755] Fix | Delete
}
[20756] Fix | Delete
return -1;
[20757] Fix | Delete
}
[20758] Fix | Delete
const UnicodeRanges = [[0x0000, 0x007f], [0x0080, 0x00ff], [0x0100, 0x017f], [0x0180, 0x024f], [0x0250, 0x02af, 0x1d00, 0x1d7f, 0x1d80, 0x1dbf], [0x02b0, 0x02ff, 0xa700, 0xa71f], [0x0300, 0x036f, 0x1dc0, 0x1dff], [0x0370, 0x03ff], [0x2c80, 0x2cff], [0x0400, 0x04ff, 0x0500, 0x052f, 0x2de0, 0x2dff, 0xa640, 0xa69f], [0x0530, 0x058f], [0x0590, 0x05ff], [0xa500, 0xa63f], [0x0600, 0x06ff, 0x0750, 0x077f], [0x07c0, 0x07ff], [0x0900, 0x097f], [0x0980, 0x09ff], [0x0a00, 0x0a7f], [0x0a80, 0x0aff], [0x0b00, 0x0b7f], [0x0b80, 0x0bff], [0x0c00, 0x0c7f], [0x0c80, 0x0cff], [0x0d00, 0x0d7f], [0x0e00, 0x0e7f], [0x0e80, 0x0eff], [0x10a0, 0x10ff, 0x2d00, 0x2d2f], [0x1b00, 0x1b7f], [0x1100, 0x11ff], [0x1e00, 0x1eff, 0x2c60, 0x2c7f, 0xa720, 0xa7ff], [0x1f00, 0x1fff], [0x2000, 0x206f, 0x2e00, 0x2e7f], [0x2070, 0x209f], [0x20a0, 0x20cf], [0x20d0, 0x20ff], [0x2100, 0x214f], [0x2150, 0x218f], [0x2190, 0x21ff, 0x27f0, 0x27ff, 0x2900, 0x297f, 0x2b00, 0x2bff], [0x2200, 0x22ff, 0x2a00, 0x2aff, 0x27c0, 0x27ef, 0x2980, 0x29ff], [0x2300, 0x23ff], [0x2400, 0x243f], [0x2440, 0x245f], [0x2460, 0x24ff], [0x2500, 0x257f], [0x2580, 0x259f], [0x25a0, 0x25ff], [0x2600, 0x26ff], [0x2700, 0x27bf], [0x3000, 0x303f], [0x3040, 0x309f], [0x30a0, 0x30ff, 0x31f0, 0x31ff], [0x3100, 0x312f, 0x31a0, 0x31bf], [0x3130, 0x318f], [0xa840, 0xa87f], [0x3200, 0x32ff], [0x3300, 0x33ff], [0xac00, 0xd7af], [0xd800, 0xdfff], [0x10900, 0x1091f], [0x4e00, 0x9fff, 0x2e80, 0x2eff, 0x2f00, 0x2fdf, 0x2ff0, 0x2fff, 0x3400, 0x4dbf, 0x20000, 0x2a6df, 0x3190, 0x319f], [0xe000, 0xf8ff], [0x31c0, 0x31ef, 0xf900, 0xfaff, 0x2f800, 0x2fa1f], [0xfb00, 0xfb4f], [0xfb50, 0xfdff], [0xfe20, 0xfe2f], [0xfe10, 0xfe1f], [0xfe50, 0xfe6f], [0xfe70, 0xfeff], [0xff00, 0xffef], [0xfff0, 0xffff], [0x0f00, 0x0fff], [0x0700, 0x074f], [0x0780, 0x07bf], [0x0d80, 0x0dff], [0x1000, 0x109f], [0x1200, 0x137f, 0x1380, 0x139f, 0x2d80, 0x2ddf], [0x13a0, 0x13ff], [0x1400, 0x167f], [0x1680, 0x169f], [0x16a0, 0x16ff], [0x1780, 0x17ff], [0x1800, 0x18af], [0x2800, 0x28ff], [0xa000, 0xa48f], [0x1700, 0x171f, 0x1720, 0x173f, 0x1740, 0x175f, 0x1760, 0x177f], [0x10300, 0x1032f], [0x10330, 0x1034f], [0x10400, 0x1044f], [0x1d000, 0x1d0ff, 0x1d100, 0x1d1ff, 0x1d200, 0x1d24f], [0x1d400, 0x1d7ff], [0xff000, 0xffffd], [0xfe00, 0xfe0f, 0xe0100, 0xe01ef], [0xe0000, 0xe007f], [0x1900, 0x194f], [0x1950, 0x197f], [0x1980, 0x19df], [0x1a00, 0x1a1f], [0x2c00, 0x2c5f], [0x2d30, 0x2d7f], [0x4dc0, 0x4dff], [0xa800, 0xa82f], [0x10000, 0x1007f, 0x10080, 0x100ff, 0x10100, 0x1013f], [0x10140, 0x1018f], [0x10380, 0x1039f], [0x103a0, 0x103df], [0x10450, 0x1047f], [0x10480, 0x104af], [0x10800, 0x1083f], [0x10a00, 0x10a5f], [0x1d300, 0x1d35f], [0x12000, 0x123ff, 0x12400, 0x1247f], [0x1d360, 0x1d37f], [0x1b80, 0x1bbf], [0x1c00, 0x1c4f], [0x1c50, 0x1c7f], [0xa880, 0xa8df], [0xa900, 0xa92f], [0xa930, 0xa95f], [0xaa00, 0xaa5f], [0x10190, 0x101cf], [0x101d0, 0x101ff], [0x102a0, 0x102df, 0x10280, 0x1029f, 0x10920, 0x1093f], [0x1f030, 0x1f09f, 0x1f000, 0x1f02f]];
[20759] Fix | Delete
function getUnicodeRangeFor(value, lastPosition = -1) {
[20760] Fix | Delete
if (lastPosition !== -1) {
[20761] Fix | Delete
const range = UnicodeRanges[lastPosition];
[20762] Fix | Delete
for (let i = 0, ii = range.length; i < ii; i += 2) {
[20763] Fix | Delete
if (value >= range[i] && value <= range[i + 1]) {
[20764] Fix | Delete
return lastPosition;
[20765] Fix | Delete
}
[20766] Fix | Delete
}
[20767] Fix | Delete
}
[20768] Fix | Delete
for (let i = 0, ii = UnicodeRanges.length; i < ii; i++) {
[20769] Fix | Delete
const range = UnicodeRanges[i];
[20770] Fix | Delete
for (let j = 0, jj = range.length; j < jj; j += 2) {
[20771] Fix | Delete
if (value >= range[j] && value <= range[j + 1]) {
[20772] Fix | Delete
return i;
[20773] Fix | Delete
}
[20774] Fix | Delete
}
[20775] Fix | Delete
}
[20776] Fix | Delete
return -1;
[20777] Fix | Delete
}
[20778] Fix | Delete
const SpecialCharRegExp = new RegExp("^(\\s)|(\\p{Mn})|(\\p{Cf})$", "u");
[20779] Fix | Delete
const CategoryCache = new Map();
[20780] Fix | Delete
function getCharUnicodeCategory(char) {
[20781] Fix | Delete
const cachedCategory = CategoryCache.get(char);
[20782] Fix | Delete
if (cachedCategory) {
[20783] Fix | Delete
return cachedCategory;
[20784] Fix | Delete
}
[20785] Fix | Delete
const groups = char.match(SpecialCharRegExp);
[20786] Fix | Delete
const category = {
[20787] Fix | Delete
isWhitespace: !!groups?.[1],
[20788] Fix | Delete
isZeroWidthDiacritic: !!groups?.[2],
[20789] Fix | Delete
isInvisibleFormatMark: !!groups?.[3]
[20790] Fix | Delete
};
[20791] Fix | Delete
CategoryCache.set(char, category);
[20792] Fix | Delete
return category;
[20793] Fix | Delete
}
[20794] Fix | Delete
function clearUnicodeCaches() {
[20795] Fix | Delete
CategoryCache.clear();
[20796] Fix | Delete
}
[20797] Fix | Delete
[20798] Fix | Delete
;// CONCATENATED MODULE: ./src/core/fonts_utils.js
[20799] Fix | Delete
[20800] Fix | Delete
[20801] Fix | Delete
[20802] Fix | Delete
[20803] Fix | Delete
[20804] Fix | Delete
const SEAC_ANALYSIS_ENABLED = true;
[20805] Fix | Delete
const FontFlags = {
[20806] Fix | Delete
FixedPitch: 1,
[20807] Fix | Delete
Serif: 2,
[20808] Fix | Delete
Symbolic: 4,
[20809] Fix | Delete
Script: 8,
[20810] Fix | Delete
Nonsymbolic: 32,
[20811] Fix | Delete
Italic: 64,
[20812] Fix | Delete
AllCap: 65536,
[20813] Fix | Delete
SmallCap: 131072,
[20814] Fix | Delete
ForceBold: 262144
[20815] Fix | Delete
};
[20816] Fix | Delete
const MacStandardGlyphOrdering = [".notdef", ".null", "nonmarkingreturn", "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand", "quotesingle", "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period", "slash", "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question", "at", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "underscore", "grave", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", "Adieresis", "Aring", "Ccedilla", "Eacute", "Ntilde", "Odieresis", "Udieresis", "aacute", "agrave", "acircumflex", "adieresis", "atilde", "aring", "ccedilla", "eacute", "egrave", "ecircumflex", "edieresis", "iacute", "igrave", "icircumflex", "idieresis", "ntilde", "oacute", "ograve", "ocircumflex", "odieresis", "otilde", "uacute", "ugrave", "ucircumflex", "udieresis", "dagger", "degree", "cent", "sterling", "section", "bullet", "paragraph", "germandbls", "registered", "copyright", "trademark", "acute", "dieresis", "notequal", "AE", "Oslash", "infinity", "plusminus", "lessequal", "greaterequal", "yen", "mu", "partialdiff", "summation", "product", "pi", "integral", "ordfeminine", "ordmasculine", "Omega", "ae", "oslash", "questiondown", "exclamdown", "logicalnot", "radical", "florin", "approxequal", "Delta", "guillemotleft", "guillemotright", "ellipsis", "nonbreakingspace", "Agrave", "Atilde", "Otilde", "OE", "oe", "endash", "emdash", "quotedblleft", "quotedblright", "quoteleft", "quoteright", "divide", "lozenge", "ydieresis", "Ydieresis", "fraction", "currency", "guilsinglleft", "guilsinglright", "fi", "fl", "daggerdbl", "periodcentered", "quotesinglbase", "quotedblbase", "perthousand", "Acircumflex", "Ecircumflex", "Aacute", "Edieresis", "Egrave", "Iacute", "Icircumflex", "Idieresis", "Igrave", "Oacute", "Ocircumflex", "apple", "Ograve", "Uacute", "Ucircumflex", "Ugrave", "dotlessi", "circumflex", "tilde", "macron", "breve", "dotaccent", "ring", "cedilla", "hungarumlaut", "ogonek", "caron", "Lslash", "lslash", "Scaron", "scaron", "Zcaron", "zcaron", "brokenbar", "Eth", "eth", "Yacute", "yacute", "Thorn", "thorn", "minus", "multiply", "onesuperior", "twosuperior", "threesuperior", "onehalf", "onequarter", "threequarters", "franc", "Gbreve", "gbreve", "Idotaccent", "Scedilla", "scedilla", "Cacute", "cacute", "Ccaron", "ccaron", "dcroat"];
[20817] Fix | Delete
function recoverGlyphName(name, glyphsUnicodeMap) {
[20818] Fix | Delete
if (glyphsUnicodeMap[name] !== undefined) {
[20819] Fix | Delete
return name;
[20820] Fix | Delete
}
[20821] Fix | Delete
const unicode = getUnicodeForGlyph(name, glyphsUnicodeMap);
[20822] Fix | Delete
if (unicode !== -1) {
[20823] Fix | Delete
for (const key in glyphsUnicodeMap) {
[20824] Fix | Delete
if (glyphsUnicodeMap[key] === unicode) {
[20825] Fix | Delete
return key;
[20826] Fix | Delete
}
[20827] Fix | Delete
}
[20828] Fix | Delete
}
[20829] Fix | Delete
info("Unable to recover a standard glyph name for: " + name);
[20830] Fix | Delete
return name;
[20831] Fix | Delete
}
[20832] Fix | Delete
function type1FontGlyphMapping(properties, builtInEncoding, glyphNames) {
[20833] Fix | Delete
const charCodeToGlyphId = Object.create(null);
[20834] Fix | Delete
let glyphId, charCode, baseEncoding;
[20835] Fix | Delete
const isSymbolicFont = !!(properties.flags & FontFlags.Symbolic);
[20836] Fix | Delete
if (properties.isInternalFont) {
[20837] Fix | Delete
baseEncoding = builtInEncoding;
[20838] Fix | Delete
for (charCode = 0; charCode < baseEncoding.length; charCode++) {
[20839] Fix | Delete
glyphId = glyphNames.indexOf(baseEncoding[charCode]);
[20840] Fix | Delete
charCodeToGlyphId[charCode] = glyphId >= 0 ? glyphId : 0;
[20841] Fix | Delete
}
[20842] Fix | Delete
} else if (properties.baseEncodingName) {
[20843] Fix | Delete
baseEncoding = getEncoding(properties.baseEncodingName);
[20844] Fix | Delete
for (charCode = 0; charCode < baseEncoding.length; charCode++) {
[20845] Fix | Delete
glyphId = glyphNames.indexOf(baseEncoding[charCode]);
[20846] Fix | Delete
charCodeToGlyphId[charCode] = glyphId >= 0 ? glyphId : 0;
[20847] Fix | Delete
}
[20848] Fix | Delete
} else if (isSymbolicFont) {
[20849] Fix | Delete
for (charCode in builtInEncoding) {
[20850] Fix | Delete
charCodeToGlyphId[charCode] = builtInEncoding[charCode];
[20851] Fix | Delete
}
[20852] Fix | Delete
} else {
[20853] Fix | Delete
baseEncoding = StandardEncoding;
[20854] Fix | Delete
for (charCode = 0; charCode < baseEncoding.length; charCode++) {
[20855] Fix | Delete
glyphId = glyphNames.indexOf(baseEncoding[charCode]);
[20856] Fix | Delete
charCodeToGlyphId[charCode] = glyphId >= 0 ? glyphId : 0;
[20857] Fix | Delete
}
[20858] Fix | Delete
}
[20859] Fix | Delete
const differences = properties.differences;
[20860] Fix | Delete
let glyphsUnicodeMap;
[20861] Fix | Delete
if (differences) {
[20862] Fix | Delete
for (charCode in differences) {
[20863] Fix | Delete
const glyphName = differences[charCode];
[20864] Fix | Delete
glyphId = glyphNames.indexOf(glyphName);
[20865] Fix | Delete
if (glyphId === -1) {
[20866] Fix | Delete
if (!glyphsUnicodeMap) {
[20867] Fix | Delete
glyphsUnicodeMap = getGlyphsUnicode();
[20868] Fix | Delete
}
[20869] Fix | Delete
const standardGlyphName = recoverGlyphName(glyphName, glyphsUnicodeMap);
[20870] Fix | Delete
if (standardGlyphName !== glyphName) {
[20871] Fix | Delete
glyphId = glyphNames.indexOf(standardGlyphName);
[20872] Fix | Delete
}
[20873] Fix | Delete
}
[20874] Fix | Delete
charCodeToGlyphId[charCode] = glyphId >= 0 ? glyphId : 0;
[20875] Fix | Delete
}
[20876] Fix | Delete
}
[20877] Fix | Delete
return charCodeToGlyphId;
[20878] Fix | Delete
}
[20879] Fix | Delete
function normalizeFontName(name) {
[20880] Fix | Delete
return name.replaceAll(/[,_]/g, "-").replaceAll(/\s/g, "");
[20881] Fix | Delete
}
[20882] Fix | Delete
[20883] Fix | Delete
;// CONCATENATED MODULE: ./src/core/standard_fonts.js
[20884] Fix | Delete
[20885] Fix | Delete
[20886] Fix | Delete
const getStdFontMap = getLookupTableFactory(function (t) {
[20887] Fix | Delete
t["Times-Roman"] = "Times-Roman";
[20888] Fix | Delete
t.Helvetica = "Helvetica";
[20889] Fix | Delete
t.Courier = "Courier";
[20890] Fix | Delete
t.Symbol = "Symbol";
[20891] Fix | Delete
t["Times-Bold"] = "Times-Bold";
[20892] Fix | Delete
t["Helvetica-Bold"] = "Helvetica-Bold";
[20893] Fix | Delete
t["Courier-Bold"] = "Courier-Bold";
[20894] Fix | Delete
t.ZapfDingbats = "ZapfDingbats";
[20895] Fix | Delete
t["Times-Italic"] = "Times-Italic";
[20896] Fix | Delete
t["Helvetica-Oblique"] = "Helvetica-Oblique";
[20897] Fix | Delete
t["Courier-Oblique"] = "Courier-Oblique";
[20898] Fix | Delete
t["Times-BoldItalic"] = "Times-BoldItalic";
[20899] Fix | Delete
t["Helvetica-BoldOblique"] = "Helvetica-BoldOblique";
[20900] Fix | Delete
t["Courier-BoldOblique"] = "Courier-BoldOblique";
[20901] Fix | Delete
t.ArialNarrow = "Helvetica";
[20902] Fix | Delete
t["ArialNarrow-Bold"] = "Helvetica-Bold";
[20903] Fix | Delete
t["ArialNarrow-BoldItalic"] = "Helvetica-BoldOblique";
[20904] Fix | Delete
t["ArialNarrow-Italic"] = "Helvetica-Oblique";
[20905] Fix | Delete
t.ArialBlack = "Helvetica";
[20906] Fix | Delete
t["ArialBlack-Bold"] = "Helvetica-Bold";
[20907] Fix | Delete
t["ArialBlack-BoldItalic"] = "Helvetica-BoldOblique";
[20908] Fix | Delete
t["ArialBlack-Italic"] = "Helvetica-Oblique";
[20909] Fix | Delete
t["Arial-Black"] = "Helvetica";
[20910] Fix | Delete
t["Arial-Black-Bold"] = "Helvetica-Bold";
[20911] Fix | Delete
t["Arial-Black-BoldItalic"] = "Helvetica-BoldOblique";
[20912] Fix | Delete
t["Arial-Black-Italic"] = "Helvetica-Oblique";
[20913] Fix | Delete
t.Arial = "Helvetica";
[20914] Fix | Delete
t["Arial-Bold"] = "Helvetica-Bold";
[20915] Fix | Delete
t["Arial-BoldItalic"] = "Helvetica-BoldOblique";
[20916] Fix | Delete
t["Arial-Italic"] = "Helvetica-Oblique";
[20917] Fix | Delete
t.ArialMT = "Helvetica";
[20918] Fix | Delete
t["Arial-BoldItalicMT"] = "Helvetica-BoldOblique";
[20919] Fix | Delete
t["Arial-BoldMT"] = "Helvetica-Bold";
[20920] Fix | Delete
t["Arial-ItalicMT"] = "Helvetica-Oblique";
[20921] Fix | Delete
t["Arial-BoldItalicMT-BoldItalic"] = "Helvetica-BoldOblique";
[20922] Fix | Delete
t["Arial-BoldMT-Bold"] = "Helvetica-Bold";
[20923] Fix | Delete
t["Arial-ItalicMT-Italic"] = "Helvetica-Oblique";
[20924] Fix | Delete
t.ArialUnicodeMS = "Helvetica";
[20925] Fix | Delete
t["ArialUnicodeMS-Bold"] = "Helvetica-Bold";
[20926] Fix | Delete
t["ArialUnicodeMS-BoldItalic"] = "Helvetica-BoldOblique";
[20927] Fix | Delete
t["ArialUnicodeMS-Italic"] = "Helvetica-Oblique";
[20928] Fix | Delete
t["Courier-BoldItalic"] = "Courier-BoldOblique";
[20929] Fix | Delete
t["Courier-Italic"] = "Courier-Oblique";
[20930] Fix | Delete
t.CourierNew = "Courier";
[20931] Fix | Delete
t["CourierNew-Bold"] = "Courier-Bold";
[20932] Fix | Delete
t["CourierNew-BoldItalic"] = "Courier-BoldOblique";
[20933] Fix | Delete
t["CourierNew-Italic"] = "Courier-Oblique";
[20934] Fix | Delete
t["CourierNewPS-BoldItalicMT"] = "Courier-BoldOblique";
[20935] Fix | Delete
t["CourierNewPS-BoldMT"] = "Courier-Bold";
[20936] Fix | Delete
t["CourierNewPS-ItalicMT"] = "Courier-Oblique";
[20937] Fix | Delete
t.CourierNewPSMT = "Courier";
[20938] Fix | Delete
t["Helvetica-BoldItalic"] = "Helvetica-BoldOblique";
[20939] Fix | Delete
t["Helvetica-Italic"] = "Helvetica-Oblique";
[20940] Fix | Delete
t["Symbol-Bold"] = "Symbol";
[20941] Fix | Delete
t["Symbol-BoldItalic"] = "Symbol";
[20942] Fix | Delete
t["Symbol-Italic"] = "Symbol";
[20943] Fix | Delete
t.TimesNewRoman = "Times-Roman";
[20944] Fix | Delete
t["TimesNewRoman-Bold"] = "Times-Bold";
[20945] Fix | Delete
t["TimesNewRoman-BoldItalic"] = "Times-BoldItalic";
[20946] Fix | Delete
t["TimesNewRoman-Italic"] = "Times-Italic";
[20947] Fix | Delete
t.TimesNewRomanPS = "Times-Roman";
[20948] Fix | Delete
t["TimesNewRomanPS-Bold"] = "Times-Bold";
[20949] Fix | Delete
t["TimesNewRomanPS-BoldItalic"] = "Times-BoldItalic";
[20950] Fix | Delete
t["TimesNewRomanPS-BoldItalicMT"] = "Times-BoldItalic";
[20951] Fix | Delete
t["TimesNewRomanPS-BoldMT"] = "Times-Bold";
[20952] Fix | Delete
t["TimesNewRomanPS-Italic"] = "Times-Italic";
[20953] Fix | Delete
t["TimesNewRomanPS-ItalicMT"] = "Times-Italic";
[20954] Fix | Delete
t.TimesNewRomanPSMT = "Times-Roman";
[20955] Fix | Delete
t["TimesNewRomanPSMT-Bold"] = "Times-Bold";
[20956] Fix | Delete
t["TimesNewRomanPSMT-BoldItalic"] = "Times-BoldItalic";
[20957] Fix | Delete
t["TimesNewRomanPSMT-Italic"] = "Times-Italic";
[20958] Fix | Delete
});
[20959] Fix | Delete
const getFontNameToFileMap = getLookupTableFactory(function (t) {
[20960] Fix | Delete
t.Courier = "FoxitFixed.pfb";
[20961] Fix | Delete
t["Courier-Bold"] = "FoxitFixedBold.pfb";
[20962] Fix | Delete
t["Courier-BoldOblique"] = "FoxitFixedBoldItalic.pfb";
[20963] Fix | Delete
t["Courier-Oblique"] = "FoxitFixedItalic.pfb";
[20964] Fix | Delete
t.Helvetica = "LiberationSans-Regular.ttf";
[20965] Fix | Delete
t["Helvetica-Bold"] = "LiberationSans-Bold.ttf";
[20966] Fix | Delete
t["Helvetica-BoldOblique"] = "LiberationSans-BoldItalic.ttf";
[20967] Fix | Delete
t["Helvetica-Oblique"] = "LiberationSans-Italic.ttf";
[20968] Fix | Delete
t["Times-Roman"] = "FoxitSerif.pfb";
[20969] Fix | Delete
t["Times-Bold"] = "FoxitSerifBold.pfb";
[20970] Fix | Delete
t["Times-BoldItalic"] = "FoxitSerifBoldItalic.pfb";
[20971] Fix | Delete
t["Times-Italic"] = "FoxitSerifItalic.pfb";
[20972] Fix | Delete
t.Symbol = "FoxitSymbol.pfb";
[20973] Fix | Delete
t.ZapfDingbats = "FoxitDingbats.pfb";
[20974] Fix | Delete
t["LiberationSans-Regular"] = "LiberationSans-Regular.ttf";
[20975] Fix | Delete
t["LiberationSans-Bold"] = "LiberationSans-Bold.ttf";
[20976] Fix | Delete
t["LiberationSans-Italic"] = "LiberationSans-Italic.ttf";
[20977] Fix | Delete
t["LiberationSans-BoldItalic"] = "LiberationSans-BoldItalic.ttf";
[20978] Fix | Delete
});
[20979] Fix | Delete
const getNonStdFontMap = getLookupTableFactory(function (t) {
[20980] Fix | Delete
t.Calibri = "Helvetica";
[20981] Fix | Delete
t["Calibri-Bold"] = "Helvetica-Bold";
[20982] Fix | Delete
t["Calibri-BoldItalic"] = "Helvetica-BoldOblique";
[20983] Fix | Delete
t["Calibri-Italic"] = "Helvetica-Oblique";
[20984] Fix | Delete
t.CenturyGothic = "Helvetica";
[20985] Fix | Delete
t["CenturyGothic-Bold"] = "Helvetica-Bold";
[20986] Fix | Delete
t["CenturyGothic-BoldItalic"] = "Helvetica-BoldOblique";
[20987] Fix | Delete
t["CenturyGothic-Italic"] = "Helvetica-Oblique";
[20988] Fix | Delete
t.ComicSansMS = "Comic Sans MS";
[20989] Fix | Delete
t["ComicSansMS-Bold"] = "Comic Sans MS-Bold";
[20990] Fix | Delete
t["ComicSansMS-BoldItalic"] = "Comic Sans MS-BoldItalic";
[20991] Fix | Delete
t["ComicSansMS-Italic"] = "Comic Sans MS-Italic";
[20992] Fix | Delete
t.Impact = "Helvetica";
[20993] Fix | Delete
t["ItcSymbol-Bold"] = "Helvetica-Bold";
[20994] Fix | Delete
t["ItcSymbol-BoldItalic"] = "Helvetica-BoldOblique";
[20995] Fix | Delete
t["ItcSymbol-Book"] = "Helvetica";
[20996] Fix | Delete
t["ItcSymbol-BookItalic"] = "Helvetica-Oblique";
[20997] Fix | Delete
t["ItcSymbol-Medium"] = "Helvetica";
[20998] Fix | Delete
t["ItcSymbol-MediumItalic"] = "Helvetica-Oblique";
[20999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function