diff --git a/generate_font.py b/generate_font.py index 239aa24..82a915d 100755 --- a/generate_font.py +++ b/generate_font.py @@ -16,6 +16,7 @@ add_string(used_set,"PV") add_string(used_set,"Out") add_string(used_set,"VA%+- .") add_string(used_set,"/-\\|") +add_string(used_set,"ONOFF") if "?" in used_set: used_set.remove("?") diff --git a/src/font.c b/src/font.c index 224e92f..f817768 100644 --- a/src/font.c +++ b/src/font.c @@ -191,6 +191,26 @@ unsigned char my_font_[][16] = 0xef,0x0f, 0x1f,0xff, }, + { + 0xdf,0xc0, + 0xc0,0xdd, + 0xd8,0xcf, + 0xc7,0xff, + 0xef,0x0f, + 0x0f,0xef, + 0xff,0xff, + 0xff,0xff, + }, + { + 0xc0,0xc0, + 0xe3,0xf1, + 0xf8,0xc0, + 0xc0,0xff, + 0x0f,0x0f, + 0xff,0xff, + 0xff,0x0f, + 0x0f,0xff, + }, { 0xe0,0xc0, 0xdf,0xdf, @@ -293,6 +313,8 @@ char my_font_map_[]= '9', 'A', 'B', + 'F', + 'N', 'O', 'P', 'V',