Browse Source

Add `i` and `k` to the default font

rexim 2 years ago
parent
commit
723f8cb62f
5 changed files with 16 additions and 2 deletions
  1. 16 2
      olive.c
  2. BIN
      wasm/3d.wasm
  3. BIN
      wasm/squish.wasm
  4. BIN
      wasm/triangle.wasm
  5. BIN
      wasm/triangle3d.wasm

+ 16 - 2
olive.c

@@ -83,9 +83,23 @@ static char default_font_glyphs[128][DEFAULT_FONT_HEIGHT][DEFAULT_FONT_WIDTH] =
         {1, 0, 0, 1, 0},
         {1, 0, 0, 1, 0},
         {1, 0, 0, 1, 0},
         {1, 0, 0, 1, 0},
     },
     },
-    ['i'] = {},
+    ['i'] = {
+        {0, 0, 1, 0, 0},
+        {0, 0, 0, 0, 0},
+        {0, 0, 1, 0, 0},
+        {0, 0, 1, 0, 0},
+        {0, 0, 1, 0, 0},
+        {0, 0, 1, 0, 0},
+    },
     ['j'] = {},
     ['j'] = {},
-    ['k'] = {},
+    ['k'] = {
+        {0, 1, 0, 0, 0},
+        {0, 1, 0, 0, 0},
+        {0, 1, 0, 1, 0},
+        {0, 1, 1, 0, 0},
+        {0, 1, 1, 0, 0},
+        {0, 1, 0, 1, 0},
+    },
     ['l'] = {
     ['l'] = {
         {0, 1, 1, 0, 0},
         {0, 1, 1, 0, 0},
         {0, 0, 1, 0, 0},
         {0, 0, 1, 0, 0},

BIN
wasm/3d.wasm


BIN
wasm/squish.wasm


BIN
wasm/triangle.wasm


BIN
wasm/triangle3d.wasm