fixed svgs where text was not a path
All checks were successful
CSGOWTF/csgowtf/pipeline/head This commit looks good

This commit is contained in:
2021-10-23 03:49:45 +02:00
parent 96a6b822b4
commit 3113553f67
2 changed files with 36 additions and 20 deletions

View File

@@ -28,10 +28,10 @@
inkscape:cy="389"
inkscape:window-width="1920"
inkscape:window-height="1021"
inkscape:window-x="1920"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
inkscape:current-layer="text11238" />
<defs
id="defs2">
<rect
@@ -71,15 +71,23 @@
d="M 564.83598,529.11398 240.26172,716.50702 -84.312541,529.11398 -84.31254,154.32791 240.26172,-33.065125 564.83598,154.32791 Z"
transform="matrix(0.26458333,0,0,0.26458333,41.430754,58.086334)"
inkscape:transform-center-y="-1.1390698e-06" />
<text
xml:space="preserve"
<g
aria-label="BAN"
transform="matrix(0.32563879,0,0,0.33957976,-21.103325,-41.320428)"
id="text11238"
style="font-style:normal;font-weight:normal;font-size:240px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect11240);fill:#000000;fill-opacity:1;stroke:none"><tspan
x="141.36914"
y="645.02629"
id="tspan66668"><tspan
style="fill:#ffffff"
id="tspan66666">BAN</tspan></tspan></text>
style="font-size:240px;line-height:1.25;white-space:pre;shape-inside:url(#rect11240)">
<path
d="m 213.60914,473.66629 q 32.16,0 48.48,9.6 16.56,9.36 16.56,32.88 0,15.12 -8.4,25.2 -8.4,9.84 -24.24,12.72 v 1.2 q 10.8,1.68 19.44,6.24 8.88,4.56 13.92,12.96 5.04,8.4 5.04,21.84 0,23.28 -16.08,36 -15.84,12.72 -43.44,12.72 h -60.24 v -171.36 z m 4.32,72.96 q 22.08,0 30.24,-6.96 8.16,-7.2 8.16,-21.12 0,-14.16 -10.08,-20.16 -9.84,-6.24 -31.68,-6.24 h -28.32 v 54.48 z m -31.68,18 v 62.16 h 34.56 q 22.8,0 31.68,-8.88 8.88,-8.88 8.88,-23.28 0,-13.44 -9.36,-21.6 -9.12,-8.4 -32.88,-8.4 z"
style="fill:#ffffff"
id="path13" />
<path
d="m 428.16905,645.02629 -20.64,-53.04 h -67.92 l -20.4,53.04 h -21.84 l 66.96,-172.08 h 19.44 l 66.72,172.08 z m -46.32,-124.08 q -0.72,-1.92 -2.4,-6.96 -1.68,-5.04 -3.36,-10.32 -1.44,-5.52 -2.4,-8.4 -1.68,7.44 -3.84,14.64 -2.16,6.96 -3.6,11.04 l -19.44,51.84 h 54.24 z"
style="fill:#ffffff"
id="path15" />
<path
d="m 609.84903,645.02629 h -25.2 l -91.68,-142.32 h -0.96 q 0.48,8.4 1.2,20.88 0.72,12.48 0.72,25.68 v 95.76 h -19.92 v -171.36 h 24.96 l 91.44,141.84 h 0.96 q -0.24,-3.84 -0.72,-11.52 -0.24,-7.68 -0.72,-16.8 -0.24,-9.12 -0.24,-16.8 v -96.72 h 20.16 z"
style="fill:#ffffff"
id="path17" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@@ -28,10 +28,10 @@
inkscape:cy="389"
inkscape:window-width="1920"
inkscape:window-height="1021"
inkscape:window-x="1920"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
inkscape:current-layer="text11238" />
<defs
id="defs2">
<rect
@@ -71,15 +71,23 @@
d="M 564.83598,529.11398 240.26172,716.50702 -84.312541,529.11398 -84.31254,154.32791 240.26172,-33.065125 564.83598,154.32791 Z"
transform="matrix(0.26458333,0,0,0.26458333,41.430754,58.086334)"
inkscape:transform-center-y="-1.1390698e-06" />
<text
xml:space="preserve"
<g
aria-label="VAC"
transform="matrix(0.34578181,0,0,0.33957976,-17.741749,-41.44268)"
id="text11238"
style="font-style:normal;font-weight:normal;font-size:240px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect11240);fill:#000000;fill-opacity:1;stroke:none"><tspan
x="141.36914"
y="645.02629"
id="tspan33105"><tspan
style="fill:#ffffff"
id="tspan33103">VAC</tspan></tspan></text>
style="font-size:240px;line-height:1.25;white-space:pre;shape-inside:url(#rect11240)">
<path
d="m 285.36914,473.66629 -61.2,171.36 h -21.6 l -61.2,-171.36 h 22.56 l 38.64,109.92 q 3.84,10.56 6.48,19.92 2.64,9.12 4.32,17.52 1.68,-8.4 4.32,-17.76 2.64,-9.36 6.48,-20.16 l 38.4,-109.44 z"
style="fill:#ffffff"
id="path13" />
<path
d="m 406.56855,645.02629 -20.64,-53.04 h -67.92 l -20.4,53.04 h -21.84 l 66.96,-172.08 h 19.44 l 66.72,172.08 z m -46.32,-124.08 q -0.72,-1.92 -2.4,-6.96 -1.68,-5.04 -3.36,-10.32 -1.44,-5.52 -2.4,-8.4 -1.68,7.44 -3.84,14.64 -2.16,6.96 -3.6,11.04 l -19.44,51.84 h 54.24 z"
style="fill:#ffffff"
id="path15" />
<path
d="m 521.04843,490.22629 q -27.6,0 -43.44,18.48 -15.84,18.48 -15.84,50.64 0,31.92 14.64,50.64 14.88,18.48 44.4,18.48 11.28,0 21.36,-1.92 10.08,-1.92 19.68,-4.8 v 18.72 q -9.6,3.6 -19.92,5.28 -10.08,1.68 -24.24,1.68 -26.16,0 -43.68,-10.8 -17.52,-10.8 -26.4,-30.72 -8.64,-19.92 -8.64,-46.8 0,-25.92 9.36,-45.6 9.6,-19.92 28.08,-30.96 18.48,-11.28 44.88,-11.28 27.12,0 47.28,10.08 l -8.64,18.24 q -7.92,-3.6 -17.76,-6.48 -9.6,-2.88 -21.12,-2.88 z"
style="fill:#ffffff"
id="path17" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB