diff --git a/app/templates/admin/labels/settings.html b/app/templates/admin/labels/settings.html index 95374fb..efde49b 100644 --- a/app/templates/admin/labels/settings.html +++ b/app/templates/admin/labels/settings.html @@ -174,6 +174,36 @@
+
+
Label font
+
+ {% if font_info.kind == 'system' %} +

+ Labels are drawn with + {{ font_info.name }}. +

+

{{ font_info.path }}

+ {% elif font_info.scalable %} +

Fallback + No system font found, so labels use {{ font_info.name }}.

+

+ It prints at the right size, but a real font looks better: + apt install fonts-dejavu-core on the server, or set + LABEL_FONT to a .ttf file and restart. +

+ {% else %} +

Broken + No scalable font on this server.

+

+ Labels will print about a millimetre tall whatever Text size + says, because Pillow's built-in font ignores the size asked for. + Install fonts-dejavu-core, or point + LABEL_FONT at a .ttf file, and restart. +

+ {% endif %} +
+
+
PDF export