From 8b1456a49cee9cb195bc2febd60fb36e24679610 Mon Sep 17 00:00:00 2001 From: Luxferre Date: Sat, 30 Jul 2022 20:10:51 +0300 Subject: [PATCH] nanofont drawc/putc work correctly --- tal-lib/font.tal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tal-lib/font.tal b/tal-lib/font.tal index 103b2ce..0857bd6 100644 --- a/tal-lib/font.tal +++ b/tal-lib/font.tal @@ -26,7 +26,7 @@ BRK ( sprite and text drawing routines ) ( subtract #20 from the ASCII code and get the absolute offset from the nanofont label ) -%CHAR-TO-NF { #20 SUB BTS ;nanofont ADD2 } +%CHAR-TO-NF { #20 SUB BTS #10 SFT2 ;nanofont ADD2 } ( 4x1 scanline output from the nibble ) ( x y nibble -- x y )