Renderer: add punctuation glyphs (~ @ ( ) etc.) to the bitmap font
CI / test (push) Successful in 25s
CI / test (push) Successful in 25s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
abdc5de8e3
commit
9b31a7c476
1 file changed
+27
@@ -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]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user