From: Nathael Pajani Date: Fri, 12 Jun 2020 23:31:14 +0000 (+0200) Subject: Updated font to get up and down arrow and "°" X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=1105174679285789844aa98d11306d445b2d73a3;p=soft%2Flpc122x%2Fcore Updated font to get up and down arrow and "°" --- diff --git a/include/lib/font.h b/include/lib/font.h index fcce7d7..5f780ec 100644 --- a/include/lib/font.h +++ b/include/lib/font.h @@ -21,6 +21,11 @@ /* * The font has been found on opengameart.org: * http://opengameart.org/content/8x8-ascii-bitmap-font-with-c-source + * + * I made a few modifications : + * replace 0x24 ($) by (°) orig : ROW(0x081E281C0A3C0800) + * replace 0x60 (`) by an up arrow. orig : ROW(0x1008000000000000) + * replace 0x7F (DEL) by a down arrow */ #ifndef LIB_FONT_H @@ -28,7 +33,7 @@ #include "lib/stdint.h" -#define NB_FONT_TILES 95 +#define NB_FONT_TILES 96 #define FIRST_FONT_CHAR 0x20 @@ -82,7 +87,7 @@ ROW(0x0808080800080000), /* ! */ \ ROW(0x2828000000000000), /* " */ \ ROW(0x00287C287C280000), /* # */ \ - ROW(0x081E281C0A3C0800), /* $ */ \ + ROW(0x1028281000000000), /* degree */ \ ROW(0x6094681629060000), /* % */ \ ROW(0x1C20201926190000), /* & */ \ ROW(0x0808000000000000), /* ' */ \ @@ -142,7 +147,7 @@ ROW(0x3808080808380000), /* ] */ \ ROW(0x1028000000000000), /* ^ */ \ ROW(0x00000000007E0000), /* _ */ \ - ROW(0x1008000000000000), /* ` */ /* 0x60 */ \ + ROW(0x10387C1010100000), /* fleche haut */ /* 0x60 */ \ ROW(0x003C023E463A0000), /* a */ \ ROW(0x40407C42625C0000), /* b */ \ ROW(0x00001C20201C0000), /* c */ \ @@ -172,7 +177,8 @@ ROW(0x1C103030101C0000), /* { */ \ ROW(0x0808080808080800), /* | */ \ ROW(0x38080C0C08380000), /* } */ \ - ROW(0x000000324C000000), /* ~ */ + ROW(0x000000324C000000), /* ~ */ \ + ROW(0x001010107C381000), /* fleche bas */ /* 0x7F */ /* End of Table */