diff --git a/bin/export.ts b/bin/export.ts index b1cc331..266473c 100644 --- a/bin/export.ts +++ b/bin/export.ts @@ -57,5 +57,5 @@ function exportGlyph(sheetName: string, glyphName: string): string { canvas.use(placed); // return canvas SVG code - return canvas.svg(); + return canvas.svg().replaceAll(" href=", " xlink:href="); } diff --git a/contact.png b/contact.png index ca35ab3..16e9fb8 100644 Binary files a/contact.png and b/contact.png differ diff --git a/contact.svg b/contact.svg index 6a1c557..073e064 100644 --- a/contact.svg +++ b/contact.svg @@ -1 +1 @@ -Renderer Contact Sheet(Generated 10 Dec 2024)Sheet Name: corecannon-piececannon-towncirclecross-diagcross-omnicross-orthcubedline-negdline-posdragonhex-flathex-pointyhex-pointy-m123hex-pointy-m21hlinehousehumpbackmeepleorborb1orb2orb3orcapalacepiecepiece-borderlesspiece-chariotpiece-horsepiece-squarepiece-square-borderlesspiece-trianglepiece-triangle-dotplanering-01ring-02ring-12ring-13ring-23sphere-spiraltowertrax-cornerstrax-plusvlinewyke-1wyke-2wyke-3wyke-4wyke-5wyke-6wyke-7xSheet Name: chesschess-bishop-outline-linechess-bishop-outline-milleniachess-bishop-outline-montrealchess-bishop-outline-traditionalchess-bishop-solid-linechess-bishop-solid-milleniachess-bishop-solid-montrealchess-bishop-solid-traditionalchess-ex-solid-linechess-ex-solid-milleniachess-king-outline-linechess-king-outline-milleniachess-king-outline-montrealchess-king-outline-traditionalchess-king-solid-linechess-king-solid-milleniachess-king-solid-montrealchess-king-solid-traditionalchess-knight-outline-linechess-knight-outline-milleniachess-knight-outline-montrealchess-knight-outline-traditionalchess-knight-solid-linechess-knight-solid-milleniachess-knight-solid-montrealchess-knight-solid-traditionalchess-pawn-outline-linechess-pawn-outline-milleniachess-pawn-outline-montrealchess-pawn-outline-traditionalchess-pawn-solid-linechess-pawn-solid-milleniachess-pawn-solid-montrealchess-pawn-solid-traditionalchess-queen-outline-linechess-queen-outline-milleniachess-queen-outline-montrealchess-queen-outline-traditionalchess-queen-solid-linechess-queen-solid-milleniachess-queen-solid-montrealchess-queen-solid-traditionalchess-rook-outline-linechess-rook-outline-milleniachess-rook-outline-montrealchess-rook-outline-traditionalchess-rook-solid-linechess-rook-solid-milleniachess-rook-solid-montrealchess-rook-solid-traditionalSheet Name: diced6-1d6-2d6-3d6-4d6-5d6-6Sheet Name: looneypyramid-flat-largepyramid-flat-mediumpyramid-flat-smallpyramid-flattened-largepyramid-flattened-mediumpyramid-flattened-smallpyramid-up-largepyramid-up-large-3Dpyramid-up-large-upscaledpyramid-up-mediumpyramid-up-medium-3Dpyramid-up-medium-upscaledpyramid-up-smallpyramid-up-small-3Dpyramid-up-small-upscaledSheet Name: piecepackpiecepack-misc-coin-backpiecepack-misc-tile-backpiecepack-number-0piecepack-number-1piecepack-number-2piecepack-number-3piecepack-number-4piecepack-number-5piecepack-number-6piecepack-number-7piecepack-number-8piecepack-number-9piecepack-number-voidpiecepack-suit-anchorspiecepack-suit-clubspiecepack-suit-crownspiecepack-suit-diamondspiecepack-suit-fleurdelispiecepack-suit-heartspiecepack-suit-moonspiecepack-suit-spadespiecepack-suit-starspiecepack-suit-sunsSheet Name: streetcarcube-cat-plantcube-lamp-catcube-person-lampcube-plant-personstreetcar-houseSheet Name: natonato-artillerynato-artillery-towednato-cavalryHnato-cavalry-heavynato-infantryLnato-infantry-lightSOFnato-infantry-specialSheet Name: decktetdecktet-0decktet-1decktet-2decktet-3decktet-4decktet-5decktet-6decktet-7decktet-8decktet-9decktet-courtdecktet-crowndecktet-knotsdecktet-leavesdecktet-moonsdecktet-pawndecktet-sunsdecktet-wavesdecktet-wyrms +Renderer Contact Sheet(Generated 12 Dec 2024)Sheet Name: corecannon-piececannon-towncirclecross-diagcross-omnicross-orthcubedline-negdline-posdragonhex-flathex-pointyhex-pointy-m123hex-pointy-m21hlinehousehumpbackmeepleorborb1orb2orb3orcapalacepiecepiece-borderlesspiece-chariotpiece-horsepiece-squarepiece-square-borderlesspiece-trianglepiece-triangle-dotplanering-01ring-02ring-12ring-13ring-23sphere-spiraltowertrax-cornerstrax-plusvlinewyke-1wyke-2wyke-3wyke-4wyke-5wyke-6wyke-7xSheet Name: chesschess-bishop-outline-linechess-bishop-outline-milleniachess-bishop-outline-montrealchess-bishop-outline-traditionalchess-bishop-solid-linechess-bishop-solid-milleniachess-bishop-solid-montrealchess-bishop-solid-traditionalchess-ex-solid-linechess-ex-solid-milleniachess-king-outline-linechess-king-outline-milleniachess-king-outline-montrealchess-king-outline-traditionalchess-king-solid-linechess-king-solid-milleniachess-king-solid-montrealchess-king-solid-traditionalchess-knight-outline-linechess-knight-outline-milleniachess-knight-outline-montrealchess-knight-outline-traditionalchess-knight-solid-linechess-knight-solid-milleniachess-knight-solid-montrealchess-knight-solid-traditionalchess-pawn-outline-linechess-pawn-outline-milleniachess-pawn-outline-montrealchess-pawn-outline-traditionalchess-pawn-solid-linechess-pawn-solid-milleniachess-pawn-solid-montrealchess-pawn-solid-traditionalchess-queen-outline-linechess-queen-outline-milleniachess-queen-outline-montrealchess-queen-outline-traditionalchess-queen-solid-linechess-queen-solid-milleniachess-queen-solid-montrealchess-queen-solid-traditionalchess-rook-outline-linechess-rook-outline-milleniachess-rook-outline-montrealchess-rook-outline-traditionalchess-rook-solid-linechess-rook-solid-milleniachess-rook-solid-montrealchess-rook-solid-traditionalSheet Name: diced6-1d6-2d6-3d6-4d6-5d6-6Sheet Name: looneypyramid-flat-largepyramid-flat-mediumpyramid-flat-smallpyramid-flattened-largepyramid-flattened-mediumpyramid-flattened-smallpyramid-up-largepyramid-up-large-3Dpyramid-up-large-upscaledpyramid-up-mediumpyramid-up-medium-3Dpyramid-up-medium-upscaledpyramid-up-smallpyramid-up-small-3Dpyramid-up-small-upscaledSheet Name: piecepackpiecepack-misc-coin-backpiecepack-misc-tile-backpiecepack-number-0piecepack-number-1piecepack-number-2piecepack-number-3piecepack-number-4piecepack-number-5piecepack-number-6piecepack-number-7piecepack-number-8piecepack-number-9piecepack-number-voidpiecepack-suit-anchorspiecepack-suit-clubspiecepack-suit-crownspiecepack-suit-diamondspiecepack-suit-fleurdelispiecepack-suit-heartspiecepack-suit-moonspiecepack-suit-spadespiecepack-suit-starspiecepack-suit-sunsSheet Name: streetcarcube-cat-plantcube-lamp-catcube-person-lampcube-plant-personstreetcar-houseSheet Name: natonato-artillerynato-artillery-towednato-cavalryHnato-cavalry-heavynato-infantryLnato-infantry-lightSOFnato-infantry-specialSheet Name: decktetdecktet-0decktet-1decktet-2decktet-3decktet-4decktet-5decktet-6decktet-7decktet-8decktet-9decktet-courtdecktet-crowndecktet-knotsdecktet-leavesdecktet-moonsdecktet-pawndecktet-sunsdecktet-wavesdecktet-wyrms diff --git a/src/sheets/decktet.ts b/src/sheets/decktet.ts index 3f9fbe3..1f460f9 100644 --- a/src/sheets/decktet.ts +++ b/src/sheets/decktet.ts @@ -20,7 +20,7 @@ sheet.glyphs.set("decktet-0", (canvas: SVGContainer) => { group.path("M139 527q47 41 89 58.5t81.5 13t78 -29t79.5 -68.5q3 -2 7 -5t6 -8q14 -25 20 -51.5t8 -55.5q2 -26 -2.5 -68.5t-14.5 -87.5t-25 -85.5t-34 -62.5q-16 -18 -34 -29t-38 -22q-55 -29 -101.5 -27.5t-102.5 28.5q-24 11 -46 27.5t-36 41.5q-18 32 -30.5 71.5t-17.5 80.5t-0.5 81t20.5 74q17 35 40.5 66.5t52.5 57.5zM411 200q17 60 18.5 117.5t-21.5 116.5q-2 0 -2 2q-24 26 -51.5 51.5t-64.5 32.5q-33 5 -63 -12t-52 -38q-28 -27 -43.5 -56t-21 -60.5t-1.5 -65t13 -69.5q4 -17 13.5 -38t20.5 -35q9 -12 26 -26t36.5 -25t39.5 -16t35 -1q22 5 48 18t43 41q9 14 15.5 30t11.5 33z") .attr("data-playerfill", true) .fill("black"); - symbol.viewbox(2, 99.5, 700, 700); + symbol.viewbox(23, 200, 486, 601); return symbol; }); @@ -31,7 +31,7 @@ sheet.glyphs.set("decktet-1", (canvas: SVGContainer) => { group.path("M89 -36q-21 1 -29 11t-6.5 23t11 26t23.5 20q16 4 31.5 6t32.5 2q2 100 8 198t8 198v1q-11 -15 -22.5 -29t-22.5 -28q-13 -15 -28 -28l-1 -1q-1 -2 -2 -3.5t-2 -3.5q-12 -13 -27 -18.5t-27 -2.5t-17 15t2 34q8 12 16 21.5t19 19.5q13 13 29 32.5t31 41.5t27.5 44.5t18.5 41.5q12 18 30.5 25.5t31.5 -0.5q22 2 29.5 -14t-2.5 -36v-4q-1 -8 -1 -17v-17q0 -21 -0.5 -35.5t-0.5 -27.5q0 -12 -0.5 -26t-1.5 -35q-4 -88 -8.5 -174t-5.5 -174q16 -2 31.5 -3t31.5 -1q21 -3 27 -14.5t1.5 -25t-16 -25.5t-25.5 -17q-23 1 -48 3.5t-50 4t-49 0t-47 -7.5z") .attr("data-playerfill", true) .fill("black"); - symbol.viewbox(2, 99.5, 700, 700); + symbol.viewbox(16, 185, 310, 651); return symbol; }); @@ -42,7 +42,7 @@ sheet.glyphs.set("decktet-2", (canvas: SVGContainer) => { group.path("M40 538q4 12 13.5 22.5t20.5 16t22 4.5t18 -12q36 17 86 30.5t98.5 15t88 -13.5t54.5 -55q19 -50 9 -92.5t-38 -80.5t-67.5 -72t-80.5 -65t-77 -61t-56 -61q-11 -18 -14 -33t-5 -33h1q18 7 39.5 10.5t40.5 8.5q45 10 86 12t83 -6q0 12 1 23.5t2 23.5q5 14 16.5 25.5t25 16t25 -1.5t14.5 -27q-2 -24 -4.5 -49.5t8.5 -48.5q2 -15 -3.5 -28.5t-15.5 -22.5t-23 -11t-25 7h-4q-50 17 -92 18t-93 -11l-18 -4t-17 -4l-29 -6q-2 -2 -9.5 -4t-11.5 -4q-20 -8 -38 -11q-22 2 -30.5 11t-7.5 22q-7 15 -5.5 37t7.5 44.5t14.5 42.5t13.5 30q14 28 41 54t59.5 51t67 49.5t64 50.5t49.5 54t24 60q3 29 -11 45.5t-38 23.5t-54 5.5t-58.5 -8t-52 -18t-34.5 -24.5q-1 -14 -1.5 -27.5t-1.5 -27.5q-2 -14 -9.5 -26t-18.5 -18.5t-23.5 -5.5t-24.5 13v1q-5 11 -3 22h-2q2 31 3 61.5t1 61.5z") .attr("data-playerfill", true) .fill("black"); - symbol.viewbox(2, 99.5, 700, 700); + symbol.viewbox(27, 185, 427, 661); return symbol; }); @@ -53,7 +53,7 @@ sheet.glyphs.set("decktet-3", (canvas: SVGContainer) => { group.path("M47 547q5 16 16.5 27t24 15t23.5 -0.5t14 -19.5q24 17 52.5 25t59 9.5t61 -3.5t56.5 -16q33 -14 49.5 -44t29.5 -60q10 -26 5 -50.5t-19.5 -46.5t-36 -40.5t-43.5 -32.5q43 -22 71.5 -58.5t30.5 -81.5q1 -46 -15 -79t-45 -68q-14 -17 -36.5 -31t-43.5 -19q-18 -4 -30 -6t-24 -2q-11 0 -23 2t-30 6q-29 7 -49 25t-40 37q-26 25 -33.5 55.5t-12.5 63.5q-1 15 7.5 29t21 21.5t26.5 5.5t24 -18q2 -15 3.5 -26.5t4 -22t7 -20.5t13.5 -22q12 -17 29 -29.5t37 -19.5q24 -8 48.5 -4t44.5 21q23 21 29 44.5t0 46t-22 43t-37.5 34t-46 19t-47.5 -0.5q-17 -10 -33 -9q-2 0 -3 0.5t-2 0.5q-14 6 -19.5 14.5t-4.5 19t7.5 20.5t15.5 19l4 2l4 2l9 9q13 9 26.5 10t28.5 -3q10 4 32.5 13.5t44 23t36 30t8.5 32.5q-6 13 -9.5 23t-8.5 18t-12 15t-19 14q-14 8 -38 12.5t-48.5 3t-45 -10.5t-27.5 -27q-7 -13 -19 -24q1 -12 1.5 -24t1.5 -23q-2 -15 -12 -28t-23 -19t-25.5 -2t-20.5 23q-2 38 -6 78.5t3 78.5z") .attr("data-playerfill", true) .fill("black"); - symbol.viewbox(2, 99.5, 700, 700); + symbol.viewbox(42, 196, 399, 639); return symbol; }); @@ -64,7 +64,7 @@ sheet.glyphs.set("decktet-4", (canvas: SVGContainer) => { group.path("M290 553q-21 1 -29 11t-6.5 22.5t11 25.5t23.5 20q29 5 58.5 8t59.5 5q21 -3 27 -14.5t1.5 -25t-16 -25t-25.5 -16.5q-6 -1 -12 -1q-5 0 -10 -1v-111q0 -54 1 -110h27q21 -3 27 -14.5t1.5 -25t-16 -25t-25.5 -16.5h-13q1 -66 1.5 -131.5t0.5 -131.5q-3 -19 -15.5 -32t-27 -16.5t-26 4.5t-12.5 32q0 69 -0.5 138t-1.5 138q-51 0 -102 -4.5t-97 -23.5q-18 -6 -29.5 -3t-17 11t-5 19.5t7.5 22.5q0 12 4 25q9 25 16 56t11 63.5t5 65t-1 59.5h-6q-3 0 -9 -2q-3 -1 -5 -1q-24 -8 -36.5 -0.5t-14 21t7.5 29.5t28 25q14 5 31.5 9t36.5 5.5t37 1t32 -3.5q14 -9 17 -20.5t-1 -23t-14 -20.5t-22 -13q1 -54 -6 -116t-21 -116q37 8 75 11t77 3q-1 54 -1 106v106h-1v0z") .attr("data-playerfill", true) .fill("black"); - symbol.viewbox(2, 99.5, 700, 700); + symbol.viewbox(14, 155, 424, 698); return symbol; }); @@ -75,7 +75,7 @@ sheet.glyphs.set("decktet-5", (canvas: SVGContainer) => { group.path("M112 226q-33 -11 -45 6q-23 8 -21 27q3 21 6.5 43t5.5 43q2 23 1 49t-1 52q0 27 3 52.5t12 47.5q-2 12 5 23.5t18 22.5q5 2 10 4.5t10 4.5q24 3 35 -7q13 -1 25.5 -2t13.5 -1q22 0 44.5 2t45.5 4q22 2 43.5 4t44.5 2q2 0 7.5 -1t9.5 -1h15q14 5 26 -1.5t16 -27.5q3 -28 1.5 -55.5t-1.5 -55.5q-3 -19 -15.5 -32.5t-27 -17t-26 4.5t-12.5 32q0 18 0.5 35.5t1.5 35.5q-10 1 -19 1.5t-17 0.5q-17 -1 -39.5 -3.5t-47.5 -5t-50 -4t-48 0.5q-1 -14 -1.5 -32.5t-0.5 -36.5t0.5 -32.5t0.5 -19.5q-1 -10 -1 -16t-0.5 -10.5t-1 -9.5t-1.5 -14q-1 -6 -3 -15q17 9 33.5 16.5t36.5 14.5q35 11 63 14t64 3q52 0 80.5 -26t39.5 -64.5t6.5 -82.5t-18.5 -80q-15 -39 -46.5 -64.5t-71 -39.5t-82 -16.5t-78.5 4.5q-19 4 -33.5 16t-28.5 23q-12 8 -23 15t-20 18q-9 7 -9.5 18.5t5.5 22.5t18 20t27 12q9 0 15.5 -4t12.5 -11q2 -3 8 -7t4 -4q2 -2 5.5 -3.5t6.5 -3.5q10 -7 20 -16t22 -14q16 -7 35 -8t38.5 2t37.5 10t33 16q19 12 31 37t14.5 52t-6 51t-30.5 36q-28 14 -59 12.5t-62 -12t-59.5 -25.5t-51.5 -29zM125 129q-1 0 0 -1v1v0z") .attr("data-playerfill", true) .fill("black"); - symbol.viewbox(2, 99.5, 700, 700); + symbol.viewbox(45, 196, 413, 607); return symbol; }); @@ -86,7 +86,7 @@ sheet.glyphs.set("decktet-6", (canvas: SVGContainer) => { group.path("M450 546q-2 -7 -3 -13.5t-2 -14.5q0 -13 -1.5 -26.5t-5.5 -25.5q-9 -18 -23.5 -27t-27.5 -9t-21.5 10t-5.5 29q-2 -3 -1 2.5t2 7.5q1 5 2 9.5t1 9.5q0 16 3 32q-5 2 -11.5 6t-6.5 6q-8 2 -9 2q-18 1 -35.5 2t-34.5 -3q-33 -8 -61 -31t-46 -49q-27 -39 -43 -96t-13 -114q17 22 39 44.5t45 35.5q30 17 61 28t61.5 11.5t62 -13t63.5 -46.5q6 -7 13.5 -17t13.5 -21.5t10 -23t4 -20.5q-1 -27 -2.5 -45.5t-6 -34.5t-12 -32.5t-20.5 -40.5q-18 -33 -53.5 -53.5t-77.5 -28.5t-84 -3.5t-73 21.5q-49 26 -74 71.5t-34 99.5t-5 112.5t14 110.5q5 23 16 41.5t22 38.5q14 25 37.5 50.5t48.5 39.5q21 12 42.5 24t44.5 20q16 5 39 7t47.5 -0.5t47.5 -10t38 -22.5q8 -4 13 -12.5t4 -22.5v-3v-5q-1 -2 -1 -3t-1 -3v-1zM154 185q-4 -21 -19 -36q24 -41 65 -61q26 -13 56.5 -16t59 5.5t50 28.5t29.5 52q5 21 3.5 46t-15.5 45q-18 24 -55 27t-75 -8.5t-67 -33.5t-32 -49z") .attr("data-playerfill", true) .fill("black"); - symbol.viewbox(2, 99.5, 700, 700); + symbol.viewbox(36, 170, 444, 640); return symbol; }); @@ -97,7 +97,7 @@ sheet.glyphs.set("decktet-7", (canvas: SVGContainer) => { group.path("M45 545q6 18 19.5 29.5t27.5 13.5t24 -7.5t8 -32.5q39 6 89.5 12t101.5 9.5t97.5 3t76.5 -7.5q18 -12 18.5 -27.5t-9.5 -28.5q-2 -14 -13.5 -27.5t-29.5 -18.5q-30 -9 -60 -43.5t-55 -79t-42 -90t-21 -75.5q-2 -30 0 -58.5t2 -57.5q0 -3 -1 -4q-1 -7 -5 -14q-3 -7 -8 -12q0 -1 -2 -3l-7 -7q-2 -1 -3 -2t-3 -2t-2.5 -1.5t-2.5 -1.5q-5 -2 -9 -3t-8 -1h-3q-4 0 -5 1q-3 0 -5 2q-1 0 -1.5 0.5t-1.5 0.5q-7 6 -11 14q-1 2 -1 3q0 2 -1 4q-1 4 -1 13v13q-9 52 1.5 111.5t34 118t58 111.5t73.5 91q-29 -1 -61.5 -3t-65 -5t-62 -7t-52.5 -7v-18q0 -8 -1 -16q0 -3 -0.5 -4.5t-0.5 -3.5q2 -5 4 -13q-1 -2 -1 -4q-2 -15 -12 -28t-22.5 -19t-25 -2t-20.5 23q-2 5 -2.5 29.5t-0.5 51.5q0 28 1 52t2 28z") .attr("data-playerfill", true) .fill("black"); - symbol.viewbox(2, 99.5, 700, 700); + symbol.viewbox(42, 211, 466, 581); return symbol; }); @@ -108,7 +108,7 @@ sheet.glyphs.set("decktet-8", (canvas: SVGContainer) => { group.path("M369 479q11 -3 15.5 -11.5t4 -19.5t-7.5 -22.5t-21 -20.5q-24 -11 -40 -30.5t-35 -36.5q-1 -1 -2 -1.5t-2 -1.5q31 -21 54.5 -49.5t35.5 -66.5q12 -43 4 -76.5t-30.5 -57t-56 -38.5t-71.5 -21q-14 -3 -29 -5t-29 3q-34 11 -54.5 33.5t-29 51t-5.5 60t17 59.5q11 24 26.5 43.5t32.5 36.5q-26 10 -48.5 20.5t-38 28.5t-21.5 47.5t2 76.5q6 37 28 67t52.5 50t66.5 28t69.5 2t61.5 -28t42 -62q5 -13 6 -26t3 -27v-6zM246 400q11 11 22 23t22 23v1q-3 15 -5.5 29t-7.5 26t-14 22.5t-24 17.5q-24 11 -47 7t-41 -18.5t-28 -37t-8 -47.5q2 -17 12.5 -29t25.5 -20.5t32 -14.5t31 -11q8 7 15 14zM255 244q-19 19 -41 33q-17 -16 -30.5 -33t-24.5 -38q-10 -19 -10.5 -38.5t14.5 -36.5q4 -4 9.5 -8.5t10.5 -9.5q6 -5 13 -10h7q1 0 2 0.5t3 0.5q-1 -1 -4 -1q8 0 14.5 1t1.5 1h-2q4 0 6 1q13 2 24.5 4.5t23.5 8.5q13 6 18.5 16t6 22t-3.5 24.5t-10 23.5q-6 10 -13 20t-15 19zM211 104h-3q2 0 4 0.5t4 0.5q-2 0 -3 -0.5t-2 -0.5z") .attr("data-playerfill", true) .fill("black"); - symbol.viewbox(2, 99.5, 700, 700); + symbol.viewbox(35, 169, 354, 611); return symbol; }); @@ -119,7 +119,7 @@ sheet.glyphs.set("decktet-9", (canvas: SVGContainer) => { group.path("M303 216q11 29 16.5 61.5t3.5 65.5q-14 -19 -40 -27q-24 -8 -49 -17t-49.5 -13.5t-49.5 -1t-50 20.5q-33 22 -48.5 53.5t-16.5 66.5t11.5 70t36 62.5t56.5 45t73 17.5q26 0 49.5 -12t47.5 -21q18 -8 31 -23.5t27 -29.5q21 -22 33.5 -56t16.5 -73t1 -81.5t-12.5 -81.5t-25 -72t-35.5 -55q-2 -2 -8.5 -10t-15 -17.5t-18.5 -18t-18 -12.5q-19 -10 -41 -19.5t-45 -14.5t-46 -3t-44 17q-28 19 -43 46.5t-15 55.5q0 29 16 53.5t50 37.5q22 3 32.5 -4.5t11.5 -20t-7 -26.5t-22 -24q0 -10 4 -16q14 -33 49 -36q25 -3 46 6.5t38 26.5t29.5 38t19.5 42zM305 436q-9 21 -21 39q-11 15 -28 29.5t-36.5 23t-40.5 10t-40 -9.5q-19 -10 -28 -31t-8.5 -44.5t10 -44t27.5 -31.5q17 -10 39 -9t42 6.5t35 11.5t18 6q8 11 14.5 22.5t16.5 21.5z") .attr("data-playerfill", true) .fill("black"); - symbol.viewbox(2, 99.5, 700, 700); + symbol.viewbox(19, 180, 385, 601); return symbol; }); @@ -132,7 +132,7 @@ sheet.glyphs.set("decktet-court", (canvas: SVGContainer) => { group.matrix(1, 0, 0, -1, 0, 800); group.use(court).dx(-150); group.use(court).dx(150); - symbol.viewbox(2, 99.5, 700, 700); + symbol.viewbox(-128, 205, 530, 578); return symbol; }); @@ -143,7 +143,7 @@ sheet.glyphs.set("decktet-crown", (canvas: SVGContainer) => { group.path("M237 330q10 25 25 60t26 72q-5 3 -8.5 8t-5.5 8q-10 17 -14.5 35t-1.5 36t13 33.5t29 26.5q25 14 53.5 14.5t53.5 -11.5q22 -11 37.5 -31t17.5 -48q1 -12 -2 -24t-7.5 -23.5t-10 -20.5t-10.5 -14q9 -33 18 -63.5t17 -54.5q13 34 30 69t24 66q-11 20 -9 41t15.5 37.5t37 26.5t54.5 8q25 -1 45 -24.5t28 -52t1 -55t-37 -35.5q-6 -11 -10 -24.5t-7 -24.5q-6 -20 -10 -41t-8 -41q-3 -14 -7 -35t-9 -44t-10.5 -44t-11.5 -35h-23t-41 0.5t-41.5 1t-24.5 0.5l-76 2t-76 1l-22.5 -1t-51.5 -1q-28 0 -55.5 1.5t-37.5 6.5q-11 -2 -16 11q-14 40 -23 75.5t-22 77.5q-1 2 -5 14t-9.5 29.5t-11 38.5t-8.5 40q-2 9 -7 17t-9.5 16t-7.5 16.5t-3 19.5q1 23 15.5 44t35.5 35t46 18.5t46 -5.5q35 -17 47.5 -44.5t12.5 -62.5q0 -11 -5.5 -22t-13.5 -17q-3 -2 -6.5 -4.5t-5.5 -4.5q14 -28 26.5 -51t26.5 -47zM350 590q-15 1 -26 -6q-10 -6 -18 -21t-6 -46q0 -10 5 -20t10.5 -20t10.5 -18.5t5 -14.5q-3 -4 -10.5 -22.5t-17 -43t-20 -51.5t-21.5 -48h-33q-13 16 -25 35.5t-17 30.5q-11 21 -17.5 37t-20.5 40q17 20 26.5 27.5t9.5 21.5t-3.5 29t-11 27.5t-19.5 21t-28 9.5q-32 2 -51 -14.5t-23.5 -38.5t5 -45t33.5 -35q8 -31 18.5 -66t21 -68t19.5 -62t15 -50q38 -1 86 -2t100 -1.5t103 0t95 1.5q6 26 13 52t16 55.5t19 64t21 76.5q22 6 33.5 26t11.5 41q0 22 -11 39t-34 18q-40 -1 -53.5 -14t-15.5 -35q-2 -14 3 -27t3 -18q-19 -44 -35 -88.5t-32 -83.5q-5 0 -16.5 -2t-23.5 0q-8 7 -16.5 31.5t-15.5 53t-10.5 53t-1.5 30.5q14 14 21 33t5 38.5t-13.5 38t-34.5 31.5h-28zM124 89q6 4 37 6t75 3t95.5 1.5t98.5 0.5h85h54q12 0 15 -13t1 -28t-8.5 -27t-14.5 -11q-10 1 -21.5 2t-30 1.5t-47.5 1t-73 0t-107 -0.5q-62 0 -148 -1q-6 1 -10.5 9.5t-6.5 19.5t-0.5 21.5t6.5 14.5z") .attr("data-playerfill", true) .fill("black"); - symbol.viewbox(2, 99.5, 700, 700); + symbol.viewbox(12, 176, 685, 603); return symbol; }); @@ -194,7 +194,7 @@ sheet.glyphs.set("decktet-pawn", (canvas: SVGContainer) => { group.path("M338 448q5 -22 10 -45t16 -58q9 -10 19.5 -15t18.5 -11q41 -29 66 -73t25 -97q0 -5 2.5 -16.5t-0.5 -25.5l-1 -1h-23t-41 0.5t-41.5 1t-24.5 0.5l-76 2t-76 1h-25h-57q-31 0 -61 0.5t-41 1.5q-7 1 -5.5 12t3.5 34t12 49.5t26.5 50t37.5 42.5t44 27l2 2q10 25 25 60t26 72q-5 3 -8.5 8t-5.5 8q-10 17 -14.5 35t-1.5 36t13 33.5t29 26.5q25 14 53.5 15t53.5 -12q28 -14 40.5 -32.5t14.5 -46.5q1 -12 -1.5 -24.5t-8 -24.5t-12 -21.5t-13.5 -14.5zM460 156q0 19 -5.5 36t-13.5 32t-17 27t-16 21t-21.5 18t-28.5 15.5t-25 11.5t-12 6q-3 11 -8 31t-9 41.5t-6 39.5t2 23q14 14 23.5 30t11 32.5t-6.5 33t-28 31.5q-15 11 -33.5 9.5t-32.5 -9.5q-23 -19 -26 -37.5t2 -47.5q0 -9 4 -15t9.5 -10.5t10.5 -8.5t7 -10q-2 -6 -5.5 -21t-9 -35t-12 -42t-14.5 -42q-15 -9 -28 -15t-25 -12t-23.5 -13t-23.5 -19q-3 -3 -8.5 -14t-10.5 -26t-8 -31t-2 -29q15 0 48 -1t73.5 -2t85 -1.5t82.5 -0.5t65.5 1t34.5 3zM35 70q6 3 37 5.5t75 3.5t95.5 1.5t98.5 0.5h85h54q12 0 15 -10t1 -21.5t-8.5 -20.5t-14.5 -8q-10 1 -21.5 2t-30 1.5t-47.5 1t-73 0t-107 -0.5q-62 0 -148 -1q-6 1 -10.5 6.5t-6.5 13t-0.5 15t6.5 11.5z") .attr("data-playerfill", true) .fill("black"); - symbol.viewbox(2, 99.5, 700, 700); + symbol.viewbox(22, 175, 475, 604); return symbol; });