{% extends "base.html" %} {% block title %}Label Settings - Admin{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
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.
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.
ReportLab is installed, so the PDF button is available on the print page.
{% else %}PDF export is optional and needs ReportLab:
pip install reportlab
Printing straight from the browser works without it and is usually the more accurate of the two anyway.
{% endif %}