X-Git-Url: https://git.siccegge.de//index.cgi?p=teilnehmertool.git;a=blobdiff_plain;f=templates%2Fnametag.svg;h=687008f06ada35934ae743a991d24ad80d515af9;hp=a438244966166df241aeeb531b18731463134857;hb=cb0c55636c99d52ac800041a9d253a989f07eda4;hpb=e06c39ea0909a185c765b66218cae31b70fcc1fd
diff --git a/templates/nametag.svg b/templates/nametag.svg
index a438244..687008f 100644
--- a/templates/nametag.svg
+++ b/templates/nametag.svg
@@ -425,12 +425,15 @@
y="152.73964"
x="189.94026"
style="
- {% if nick|length > 14 %} font-size:45px;
- {% elif nick|length > 10 %} font-size:55px;
+ {% if nick|length > 20 %} font-size:30px;
+ {% elif nick|length > 16 %} font-size:33px;
+ {% elif nick|length > 14 %} font-size:45px;
+ {% elif nick|length > 12 %} font-size:47px;
+ {% elif nick|length > 9 %} font-size:53px;
{% elif nick|length > 8 %} font-size:65px;
{% else %} font-size:80px;
{% endif %}
- width=100%;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Source Sans Pro;-inkscape-font-specification:Source Sans Pro"
+ font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Source Sans Pro;-inkscape-font-specification:Source Sans Pro"
xml:space="preserve"
transform="scale(0.96625396,1.0349246)">{{nick}}