Remove fontname
authorChris Ellis <chris@intrbiz.com>
Sat, 7 Sep 2024 10:59:08 +0000 (11:59 +0100)
committerChris Ellis <chris@intrbiz.com>
Sat, 7 Sep 2024 10:59:08 +0000 (11:59 +0100)
templates/badge.json

index c93dd96e4694a7ce0d1f969b2b3cfe13baa64a9f..e00a6a3ddfdaee495e36dd31fa9a53db6da39179 100644 (file)
@@ -8,7 +8,6 @@
    {% set cutmarkspace = 3 %}
 
    "forcebreaks": 1,
-   "fontname": "Inter",
    "width": {{ 105 + (bleed * 2) }},
    "height": 140,
    "elements": [
@@ -48,7 +47,7 @@
        {### Name ###}
        {############}
 
-       {"type": "paragraph", "fontname": "Inter", "text": "{{ reg.firstname|escapejson }} {{ reg.lastname|escapejson }}", "x": {{ badgex + 4 }}, "y": {{ badgey + 107 }}, "width": {{ badgewidth - 8 - 18 }}, "height": 10, "bold": false}
+       {"type": "paragraph", "text": "{{ reg.firstname|escapejson }} {{ reg.lastname|escapejson }}", "x": {{ badgex + 4 }}, "y": {{ badgey + 107 }}, "width": {{ badgewidth - 8 - 18 }}, "height": 10, "bold": false}
 
        {###############}
        {### Company ###}