From 84049211f5b19d8e73d4d0f8baf600461771c65e Mon Sep 17 00:00:00 2001 From: jessikitty Date: Tue, 13 Oct 2026 12:04:29 +1100 Subject: [PATCH] Warn on the tape page when the server has no scalable font Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01Vunz4VLxAYDBnU5tLciLDC --- app/templates/admin/labels/tape.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/templates/admin/labels/tape.html b/app/templates/admin/labels/tape.html index 1ddec4e..13ba8f7 100644 --- a/app/templates/admin/labels/tape.html +++ b/app/templates/admin/labels/tape.html @@ -160,6 +160,18 @@
+ {% if not font_info.scalable %} +
+
+ Font + No scalable font on this server, so labels will print about a + millimetre tall whatever Text size says. Install + fonts-dejavu-core (or set LABEL_FONT to a + .ttf file) and print again. +
+
+ {% endif %} +
Printer