Fix prefix/tag spacing in rebootlyon2020 template

Using xml:space="preserve".
master
Lertsenem 2020-07-25 15:03:33 +02:00
parent 799f76118a
commit aea720d555
1 changed files with 2 additions and 137 deletions

View File

@ -786,143 +786,7 @@
inkscape:label="players"
id="layer3"
inkscape:groupmode="layer">
{#
<g
inkscape:label="#player"
id="player1">
<g
style="display:inline;opacity:1"
id="player_bg"
transform="translate(-2.22e-4)">
<path
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 62.252678,127.90716 H 299.24376 l 19.46576,15.875 -20.03274,17.19792 H 52.919953 Z"
id="path841"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccc" />
<path
sodipodi:nodetypes="cccccc"
inkscape:connector-curvature="0"
id="path829"
d="M 60.665177,124.73214 H 297.65625 l 19.46576,15.875 -20.03274,17.19792 H 51.332452 Z"
style="fill:url(#linearGradient839);fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<rect
y="126.52917"
x="159.02536"
height="13.229841"
width="13.229841"
id="rect973"
style="opacity:1;vector-effect:none;fill:url(#colorPlayerSecondary);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.5972681;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers stroke fill" />
<rect
style="opacity:1;vector-effect:none;fill:url(#colorPlayerSecondary);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.59727;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers stroke fill"
id="rect975"
width="13.229841"
height="13.229841"
x="159.02536"
y="141.60774" />
</g>
{% if players[0].get_mains()[1] %}
<g>
<image
xlink:href="{{dir_res_ssbu}}/{{players[0].get_mains()[1][0]|e}}/chara_2_{{players[0].get_mains()[1][0]|e}}_{{players[0].get_mains()[1][1]}}.png"
inkscape:svg-dpi="1"
id="player1_2_img"
style="display:inline;image-rendering:optimizeQuality"
preserveAspectRatio="xMidYMid"
height="14.324512"
width="14.324512"
x="158.4778"
y="125.98183" />
</g>
{% endif %}
{% if players[0].get_mains()[2] %}
<g>
<image
xlink:href="{{dir_res_ssbu}}/{{players[0].get_mains()[2][0]|e}}/chara_2_{{players[0].get_mains()[2][0]|e}}_{{players[0].get_mains()[2][1]}}.png"
y="141.06041"
x="158.4778"
width="14.324512"
height="14.324512"
preserveAspectRatio="xMidYMid"
style="display:inline;image-rendering:optimizeQuality"
id="player1_3_img"
inkscape:svg-dpi="1" />
</g>
{% endif %}
<image
xlink:href="{{dir_res_ssbu}}/{{players[0].get_mains()[0][0]|e}}/chara_3_{{players[0].get_mains()[0][0]|e}}_{{players[0].get_mains()[0][1]}}.png"
y="104.07462"
x="15.232052"
width="200"
height="100"
preserveAspectRatio="xMidYMid"
style="display:inline;image-rendering:optimizeQuality"
id="player1_img"
mask="url(#player1_msk)"
inkscape:svg-dpi="1" />
<text
id="player1_tag"
y="146.26747"
{% if players[0].prefix %}
x="236.06572"
{% else %}
x="199.06572"
{% endif %}
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:0%;font-family:Impact;-inkscape-font-specification:Impact;letter-spacing:0px;word-spacing:0px;display:inline;opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.264583"
xml:space="preserve"
transform="skewX(-9.0750613)"
inkscape:label="#playertag"><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16.2278px;line-height:1.25;font-family:Impact;-inkscape-font-specification:Impact;fill:#ffffff;fill-opacity:1;stroke-width:0.264583"
y="146.26747"
{% if players[0].prefix %}
x="236.06572"
{% else %}
x="199.06572"
{% endif %}
id="tspan965"
sodipodi:role="line">{{players[0].gamerTag|upper|e}}</tspan></text>
{% if players[0].prefix %}
<text
inkscape:label="#playerteam"
transform="skewX(-9.0750613)"
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:0%;font-family:Impact;-inkscape-font-specification:Impact;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;display:inline;opacity:1;fill:#3c4663;fill-opacity:1;stroke:none;stroke-width:0.264583"
x="234.0441"
y="146.26747"
id="player1_team"><tspan
sodipodi:role="line"
id="tspan969"
x="234.0441"
y="146.26747"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16.2278px;line-height:1.25;font-family:Impact;-inkscape-font-specification:Impact;text-align:end;text-anchor:end;fill:#3c4663;fill-opacity:1;stroke-width:0.264583">{{players[0].prefix|upper|e}}</tspan></text>
{% endif %}
<g
id="g1960">
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:semi-expanded;line-height:0%;font-family:Chiller;-inkscape-font-specification:'Chiller Semi-Expanded';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583;filter:url(#filter1924)"
x="64.259567"
y="149.10822"
id="text1862"><tspan
sodipodi:role="line"
id="tspan1860"
x="64.259567"
y="149.10822"
style="font-style:italic;font-variant:normal;font-weight:bold;font-stretch:condensed;font-size:16.9333px;line-height:1.25;font-family:Arial;-inkscape-font-specification:'Arial Bold Italic Condensed';fill:#000000;fill-opacity:1;stroke-width:0.264583">1.</tspan></text>
<text
id="text1822"
y="148.0499"
x="65.847069"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:semi-expanded;line-height:0%;font-family:Chiller;-inkscape-font-specification:'Chiller Semi-Expanded';letter-spacing:0px;word-spacing:0px;fill:#edc708;fill-opacity:1;stroke:none;stroke-width:0.264583"
xml:space="preserve"><tspan
style="font-style:italic;font-variant:normal;font-weight:bold;font-stretch:condensed;font-size:16.9333px;line-height:1.25;font-family:Arial;-inkscape-font-specification:'Arial Bold Italic Condensed';fill:#edc708;fill-opacity:1;stroke-width:0.264583"
y="148.0499"
x="65.847069"
id="tspan1820"
sodipodi:role="line">1.</tspan></text>
</g>
</g>
#}
{% for p in players %}
<g
transform="translate(0,{{loop.index0*39.583021}})"
@ -1024,6 +888,7 @@
>
{{p.prefix|upper|e}}
</tspan>
<tspan xml:space="preserve"> </tspan>
{% endif %}
<tspan
id="tspan_tag_{{loop.index}}"