Skip to content

v2.5.4 — Smooth large ticket numbers (TrueType raster)

Latest

Choose a tag to compare

@mrkaqz mrkaqz released this 23 Apr 13:53
· 3 commits to main since this release

What's new

🖨 Smooth large ticket numbers

The previous large mode used ESC/POS GS ! to scale up the built-in bitmap font — which simply multiplied each dot, producing blocky/pixelated output.

v2.5.4 switches to raster image printing (GS v 0):

  • Queue number is rendered with DejaVu Sans Bold TrueType font via Pillow
  • Rendered at the printer's native 203 DPI — smooth, clean edges
  • Auto-sizes the font to fill ~88% of the paper width
  • Falls back to bitmap scaling if Pillow or the font is unavailable

Dependencies

  • Added Pillow (Python image library)
  • Added fonts-dejavu-core to the Docker image

Upgrade

docker pull ghcr.io/mrkaqz/queue:2.5.4

or in docker-compose.yml:

image: ghcr.io/mrkaqz/queue:2.5.4