From 99f3095b4660cf2de693a56508c7e8f89fb3ca30 Mon Sep 17 00:00:00 2001 From: Stefan `Sec` Zehl Date: Mon, 1 Aug 2011 20:03:12 +0200 Subject: [PATCH] Fix invader font --- firmware/lcd/fonts/invaders.c | 12 ++++++------ tools/font/bdf/invaders.xbdf | 16 ++++++++-------- tools/font/binary/invaders.f0n | Bin 112 -> 111 bytes 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/firmware/lcd/fonts/invaders.c b/firmware/lcd/fonts/invaders.c index a9f12f6..687f8a8 100644 --- a/firmware/lcd/fonts/invaders.c +++ b/firmware/lcd/fonts/invaders.c @@ -49,7 +49,7 @@ const uint8_t InvadersBitmaps[] = { 0x58, /* * ** */ - /* Char 80 is 7px wide @ 32 */ + /* Char 80 is 7px wide @ 31 */ 0xc0, /* ** */ 0xec, /* *** ** */ 0x7e, /* ****** */ @@ -59,7 +59,7 @@ const uint8_t InvadersBitmaps[] = { 0xc0, /* ** */ - /* Char 85 is 16px wide @ 39 */ + /* Char 85 is 16px wide @ 38 */ 0x20, /* * */ 0x30, /* ** */ 0x78, /* **** */ @@ -78,7 +78,7 @@ const uint8_t InvadersBitmaps[] = { 0x20, /* * */ - /* Char 97 is 11px wide @ 55 */ + /* Char 97 is 11px wide @ 54 */ 0x9e, /* * **** */ 0x38, /* *** */ 0x7d, /* ***** * */ @@ -92,7 +92,7 @@ const uint8_t InvadersBitmaps[] = { 0x9e, /* * **** */ - /* Char 98 is 12px wide @ 66 */ + /* Char 98 is 12px wide @ 65 */ 0x1c, /* *** */ 0x5e, /* * **** */ 0xfe, /* ******* */ @@ -107,7 +107,7 @@ const uint8_t InvadersBitmaps[] = { 0x1c, /* *** */ - /* Char 99 is 8px wide @ 78 */ + /* Char 99 is 8px wide @ 77 */ 0x98, /* * ** */ 0x5c, /* * *** */ 0xb6, /* * ** ** */ @@ -149,5 +149,5 @@ const struct FONT_DEF Font_Invaders = { * Name: Invaders * Height: 8 px (1 bytes) * Maximum width: 16 px - * Storage size: 94 bytes (uncompressed) + * Storage size: 93 bytes (uncompressed) */ diff --git a/tools/font/bdf/invaders.xbdf b/tools/font/bdf/invaders.xbdf index 5acd038..db97f72 100644 --- a/tools/font/bdf/invaders.xbdf +++ b/tools/font/bdf/invaders.xbdf @@ -41,14 +41,14 @@ ENDCHAR STARTCHAR alien3-1 ENCODING 67 XBITMAP -...xx.... -..xxxx... -.xxxxxx.. -xx.xx.xx. -xxxxxxxx. -.x.xxx.x. -x.......x -.x.....x. +...xx... +..xxxx.. +.xxxxxx. +xx.xx.xx +xxxxxxxx +.x.xx.x. +x......x +.x....x. ENDCHAR STARTCHAR alien1-2 diff --git a/tools/font/binary/invaders.f0n b/tools/font/binary/invaders.f0n index 9f5b2844f429e998ab0130b6b1f20c73aac75d65..11ece67d8565e9c6faebcac853dcda38b61a0030 100644 GIT binary patch delta 16 XcmXTOpCH1>F;P^JS!_?lL@P4@CQ1Z? delta 17 Ycmc~Vm>|N)IZ;%R#Y|?0!$eCn04dxAqW}N^