commit 8b1456a49cee9cb195bc2febd60fb36e24679610
parent 4feb0d6529db1af84a7cb0023705337c9a24bc14
Author: Luxferre <lux@ferre>
Date: Sat, 30 Jul 2022 20:10:51 +0300
nanofont drawc/putc work correctly
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 )