From d09499ccaac5d9363ea4fe1d98fceda4b5c3c2a4 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Fri, 14 Sep 2012 05:31:07 -0300 Subject: [PATCH] tools/: add period (.) to character set --- tools/fonts/4x5.xbm | 4 ++-- tools/fonts/4x7.xbm | 4 ++-- tools/fonts/5x5.xbm | 4 ++-- tools/fonts/5x7.xbm | 4 ++-- tools/fonts/5x9.xbm | 4 ++-- tools/fonts/8x12.xbm | 8 ++++---- tools/libtxt/font.c | 2 +- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/tools/fonts/4x5.xbm b/tools/fonts/4x5.xbm index b384b78..d83d50a 100644 --- a/tools/fonts/4x5.xbm +++ b/tools/fonts/4x5.xbm @@ -17,6 +17,6 @@ static unsigned char 4x5_bits[] = { 0x04, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x28, 0xf4, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xdf, 0x13, 0x02, 0x1a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x04, 0x28, 0xf1, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x04, 0x80, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x04, 0x28, 0xf1, 0xc2, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x04, 0x80, 0x00, 0xcc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; diff --git a/tools/fonts/4x7.xbm b/tools/fonts/4x7.xbm index 49453ae..3970f0a 100644 --- a/tools/fonts/4x7.xbm +++ b/tools/fonts/4x7.xbm @@ -24,5 +24,5 @@ static unsigned char 4x7_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc4, 0xf7, 0x84, 0x80, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x01, 0x4a, 0xbc, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x19, 0x01, 0x20, - 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x19, 0x00, - 0x20, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; + 0x80, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x19, 0x00, + 0x20, 0x00, 0x37, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; diff --git a/tools/fonts/5x5.xbm b/tools/fonts/5x5.xbm index cc2140e..0e26ada 100644 --- a/tools/fonts/5x5.xbm +++ b/tools/fonts/5x5.xbm @@ -17,6 +17,6 @@ static unsigned char 5x5_bits[] = { 0x8e, 0x93, 0xe3, 0x4c, 0x04, 0x00, 0x10, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x51, 0x54, 0x54, 0x2c, 0x04, 0x50, 0xc8, 0x97, 0x01, 0x00, 0x00, 0x00, 0x00, 0x8e, 0x17, 0xe3, 0x10, 0xdf, 0x27, 0x04, 0xd0, 0x01, 0x00, - 0x00, 0x00, 0x00, 0x11, 0x04, 0x40, 0x69, 0x04, 0x50, 0xc2, 0x17, 0x00, + 0x00, 0x00, 0x00, 0x11, 0x04, 0x40, 0x69, 0x04, 0x50, 0xc2, 0x17, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x8e, 0x13, 0xe1, 0x64, 0x04, 0x00, 0x01, 0xe0, - 0x00, 0x00, 0x00, 0x00, 0x00}; + 0x0c, 0x00, 0x00, 0x00, 0x00}; diff --git a/tools/fonts/5x7.xbm b/tools/fonts/5x7.xbm index a9fd702..0e2232d 100644 --- a/tools/fonts/5x7.xbm +++ b/tools/fonts/5x7.xbm @@ -24,5 +24,5 @@ static unsigned char 5x7_bits[] = { 0x41, 0xbe, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x8e, 0x27, 0xc4, 0x21, 0xbe, 0x8f, 0x20, 0x80, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x11, 0x24, 0x82, 0x12, 0x08, 0x40, 0x11, 0xbe, 0x06, 0x00, 0x00, 0x00, 0x00, 0x51, 0x04, 0xe0, - 0xc9, 0x08, 0x20, 0x0a, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8e, 0x23, - 0x82, 0xc8, 0x00, 0x00, 0x08, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00}; + 0xc9, 0x08, 0x20, 0x0a, 0x80, 0x60, 0x00, 0x00, 0x00, 0x00, 0x8e, 0x23, + 0x82, 0xc8, 0x00, 0x00, 0x08, 0x00, 0x67, 0x00, 0x00, 0x00, 0x00}; diff --git a/tools/fonts/5x9.xbm b/tools/fonts/5x9.xbm index 966acac..55b063c 100644 --- a/tools/fonts/5x9.xbm +++ b/tools/fonts/5x9.xbm @@ -30,6 +30,6 @@ static unsigned char 5x9_bits[] = { 0x8e, 0x17, 0xe2, 0x10, 0xdf, 0x47, 0x10, 0x40, 0x05, 0x00, 0x00, 0x00, 0x00, 0x11, 0x14, 0x41, 0x09, 0x04, 0xa0, 0x08, 0x5f, 0x05, 0x00, 0x00, 0x00, 0x00, 0x11, 0x14, 0x41, 0x05, 0x04, 0x10, 0x09, 0x40, 0x03, 0x00, - 0x00, 0x00, 0x00, 0x51, 0x04, 0xf0, 0x64, 0x00, 0x00, 0x04, 0x40, 0x00, + 0x00, 0x00, 0x00, 0x51, 0x04, 0xf0, 0x64, 0x00, 0x00, 0x04, 0x40, 0x30, 0x00, 0x00, 0x00, 0x00, 0x8e, 0x13, 0x41, 0x64, 0x00, 0x00, 0x04, 0x80, - 0x03, 0x00, 0x00, 0x00, 0x00}; + 0x33, 0x00, 0x00, 0x00, 0x00}; diff --git a/tools/fonts/8x12.xbm b/tools/fonts/8x12.xbm index a9e10e4..03e02a6 100644 --- a/tools/fonts/8x12.xbm +++ b/tools/fonts/8x12.xbm @@ -66,8 +66,8 @@ static unsigned char 8x12_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x96, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xe6, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xff, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xff, 0x06, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x06, 0x3c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0xfc, 0x3c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x78, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; diff --git a/tools/libtxt/font.c b/tools/libtxt/font.c index 4e69547..7f18c99 100644 --- a/tools/libtxt/font.c +++ b/tools/libtxt/font.c @@ -20,7 +20,7 @@ #include "libtxt.h" -static const char charset[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!?$%+-*/=@"; +static const char charset[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!?$%+-*/=@."; #define CHARS (sizeof(charset)-1)