From 4e82a512121c7b86e721260bb25171874fcac33b Mon Sep 17 00:00:00 2001 From: Joscha Date: Mon, 17 Mar 2025 03:38:35 +0100 Subject: [PATCH] Fix line spacing The characters should touch each other horizontally and vertically. That way, things like half-height block character based QR codes look correct instead of seeming stretched. --- showbits-thermal-printer/src/documents/lib/main.typ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/showbits-thermal-printer/src/documents/lib/main.typ b/showbits-thermal-printer/src/documents/lib/main.typ index ddffbbf..eeb35fb 100644 --- a/showbits-thermal-printer/src/documents/lib/main.typ +++ b/showbits-thermal-printer/src/documents/lib/main.typ @@ -12,8 +12,8 @@ fallback: false, ) set par( - leading: 8pt, // Between lines - spacing: 26pt, // Between paragraphs + leading: 6pt, // Between lines + spacing: 22pt, // Between paragraphs ) show heading: set text(size: 32pt) show heading: set block(above: 8pt, below: 8pt)