diff options
author | heav <hheav3@gmail.com> | 2022-12-27 20:42:23 +0000 |
---|---|---|
committer | heav <hheav3@gmail.com> | 2022-12-27 20:42:23 +0000 |
commit | 39f2b26e369c295201fd3f034e7b67c5565bd26d (patch) | |
tree | bd8b7f596d52bf85db9f91f024da06a42f79ed54 | |
parent | 56ac8a22bb1d2859c478295c6f52e2dbd1a6680c (diff) |
added digits, tentatively, to the font.
-rw-r--r-- | font.lua | 36 |
1 files changed, 36 insertions, 0 deletions
@@ -123,4 +123,40 @@ font["□"] = {width = 8, {-4, -4, 4, -4, 4, 4, -4, 4, -4, -4} } +-- nanpa +font["0"] = {width = 6, + {-2, 3, -3, 2, -3, -6, -1, -8, 1, -8, 3, -6, 3, 2, 1, 4, -1, 4, -2, 3, 2, -7} +} +font["1"] = {width = 4, + {2, 4, 2, -8, -2, -4} +} +font["2"] = {width = 6, + {3, 4, -3, 4, 3, -4, 3, -6, 1, -8, -1, -8, -3, -6} +} +font["3"] = {width = 6, + {-3, 2, -1, 4, 1, 4, 3, 2, 3, 0, 1, -2, -1, -2}, + {1, -2, 3, -4, 3, -6, 1, -8, -1, -8, -3, -6} +} +font["4"] = {width = 6, + {3, 0, -3, 0, 1, -8, 1, 4} +} +font["5"] = {width = 6, + {-3, 2, -1, 4, 1, 4, 3, 2, 3, 0, 1, -2, -3, -2, -3, -8, 3, -8} +} +font["6"] = {width = 6, + {-3, 2, -1, 4, 1, 4, 3, 2, 3, 0, 1, -2, -1, -2, -3, 0, -3, 2}, + {-3, 0, -3, -6, -1, -8, 1, -8, 3, -6} +} +font["7"] = {width = 6, + {-3, -8, 3, -8, 0, 4} +} +font["8"] = {width = 6, + {-1, 4, 1, 4, 3, 2, 3, 0, 1, -2, -1, -2, -3, 0, -3, 2, -1, 4}, + {-1, -2, -3, -4, -3, -6, -1, -8, 1, -8, 3, -6, 3, -4, 1, -2} +} +font["9"] = {width = 6, + {-1, -8, 1, -8, 3, -6, 3, -4, 1, -2, -1, -2, -3, -4, -3, -6, -1, -8}, + {3, -4, 3, 2, 1, 4, -1, 4, -3, 2} +} + return font |