From 9b31a7c476ca3327894ea2f44232ac27d59a3b0c Mon Sep 17 00:00:00 2001 From: nandithebull Date: Tue, 24 Nov 2026 19:53:50 -0800 Subject: [PATCH] Renderer: add punctuation glyphs (~ @ ( ) etc.) to the bitmap font Co-Authored-By: Claude Sonnet 5.5 --- compositor/renderer/renderer.mbt | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/compositor/renderer/renderer.mbt b/compositor/renderer/renderer.mbt index 8d3bca0..819fdfe 100644 --- a/compositor/renderer/renderer.mbt +++ b/compositor/renderer/renderer.mbt @@ -347,6 +347,33 @@ fn glyph_rows(ch : Int) -> Array[Int] { 58 => [0, 12, 12, 0, 12, 12, 0] // : 47 => [1, 2, 2, 4, 8, 8, 16] // / 95 => [0, 0, 0, 0, 0, 0, 31] // _ + 33 => [4,4,4,4,4,0,4] // ! + 34 => [10,10,10,0,0,0,0] // " + 35 => [10,10,31,10,31,10,10] // # + 36 => [4,15,20,14,5,30,4] // $ + 37 => [24,25,2,4,8,19,3] // % + 38 => [12,18,20,8,21,18,13] // & + 39 => [4,4,8,0,0,0,0] // ' + 40 => [2,4,8,8,8,4,2] // ( + 41 => [8,4,2,2,2,4,8] // ) + 42 => [0,4,21,14,21,4,0] // * + 43 => [0,4,4,31,4,4,0] // + + 44 => [0,0,0,0,12,4,8] // , + 59 => [0,12,12,0,12,4,8] // ; + 60 => [2,4,8,16,8,4,2] // < + 61 => [0,0,31,0,31,0,0] // = + 62 => [8,4,2,1,2,4,8] // > + 63 => [14,17,1,2,4,0,4] // ? + 64 => [14,17,23,21,23,16,14] // @ + 91 => [14,8,8,8,8,8,14] // [ + 92 => [16,8,8,4,2,2,1] // \ + 93 => [14,2,2,2,2,2,14] // ] + 94 => [4,10,17,0,0,0,0] // ^ + 96 => [8,4,2,0,0,0,0] // ` + 123 => [2,4,4,8,4,4,2] // { + 124 => [4,4,4,4,4,4,4] // | + 125 => [8,4,4,2,4,4,8] // } + 126 => [0,0,8,21,2,0,0] // ~ _ => [31, 17, 21, 21, 21, 17, 31] } }