This commit is contained in:
Přemysl Eric Janouch 2013-07-21 12:13:42 +02:00
parent 648a59c83a
commit a293d2e034
4 changed files with 76 additions and 76 deletions

2
README
View File

@ -8,7 +8,7 @@ information you shouldn't need to care about.
Accented characters not included. Some of them are over here, should you wish
to add them yourself: http://www.dafont.com/nokia-cellphone.font
Use the nokia-fonts.c, as the textual representation doesn't specify the real
Use nokia-fonts.c, as the textual representation doesn't specify the real
horizontal advance for the characters (some of them don't have a 1px space to
the right of them). I've fixed this manually.

View File

@ -177,8 +177,8 @@ generate_menu_font (void)
{
struct nokia_menu_char *ch = &nokia_menu_data[i];
printf ("STARTCHAR U+%04X\n", '/' + i);
printf ("ENCODING %d\n", '/' + i);
printf ("STARTCHAR U+%04X\n", '-' + i);
printf ("ENCODING %d\n", '-' + i);
printf ("SWIDTH %d 0\n", (int) (.5 + 1000. * ch->advance / 6.));
printf ("DWIDTH %d\n", ch->advance);
printf ("BBX %d 6 0 0\n", ch->width);

View File

@ -7,8 +7,8 @@ FONT_ASCENT 6
FONT_DESCENT 0
ENDPROPERTIES
CHARS 13
STARTCHAR U+002F
ENCODING 47
STARTCHAR U+002D
ENCODING 45
SWIDTH 500 0
DWIDTH 3
BBX 2 6 0 0
@ -20,8 +20,8 @@ C0
00
00
ENDCHAR
STARTCHAR U+0030
ENCODING 48
STARTCHAR U+002E
ENCODING 46
SWIDTH 333 0
DWIDTH 2
BBX 1 6 0 0
@ -33,8 +33,8 @@ BITMAP
00
80
ENDCHAR
STARTCHAR U+0031
ENCODING 49
STARTCHAR U+002F
ENCODING 47
SWIDTH 667 0
DWIDTH 4
BBX 3 6 0 0
@ -46,38 +46,38 @@ BITMAP
80
80
ENDCHAR
STARTCHAR U+0030
ENCODING 48
SWIDTH 1000 0
DWIDTH 6
BBX 5 6 0 0
BITMAP
70
D8
D8
D8
D8
70
ENDCHAR
STARTCHAR U+0031
ENCODING 49
SWIDTH 1000 0
DWIDTH 6
BBX 5 6 0 0
BITMAP
30
70
30
30
30
30
ENDCHAR
STARTCHAR U+0032
ENCODING 50
SWIDTH 1000 0
DWIDTH 6
BBX 5 6 0 0
BITMAP
70
D8
D8
D8
D8
70
ENDCHAR
STARTCHAR U+0033
ENCODING 51
SWIDTH 1000 0
DWIDTH 6
BBX 5 6 0 0
BITMAP
30
70
30
30
30
30
ENDCHAR
STARTCHAR U+0034
ENCODING 52
SWIDTH 1000 0
DWIDTH 6
BBX 5 6 0 0
BITMAP
F0
18
18
@ -85,8 +85,8 @@ F0
C0
F8
ENDCHAR
STARTCHAR U+0035
ENCODING 53
STARTCHAR U+0033
ENCODING 51
SWIDTH 1000 0
DWIDTH 6
BBX 5 6 0 0
@ -98,8 +98,8 @@ F0
18
F0
ENDCHAR
STARTCHAR U+0036
ENCODING 54
STARTCHAR U+0034
ENCODING 52
SWIDTH 1000 0
DWIDTH 6
BBX 5 6 0 0
@ -111,38 +111,38 @@ F8
18
18
ENDCHAR
STARTCHAR U+0035
ENCODING 53
SWIDTH 1000 0
DWIDTH 6
BBX 5 6 0 0
BITMAP
F0
C0
F0
18
18
F0
ENDCHAR
STARTCHAR U+0036
ENCODING 54
SWIDTH 1000 0
DWIDTH 6
BBX 5 6 0 0
BITMAP
70
C0
F0
D8
D8
70
ENDCHAR
STARTCHAR U+0037
ENCODING 55
SWIDTH 1000 0
DWIDTH 6
BBX 5 6 0 0
BITMAP
F0
C0
F0
18
18
F0
ENDCHAR
STARTCHAR U+0038
ENCODING 56
SWIDTH 1000 0
DWIDTH 6
BBX 5 6 0 0
BITMAP
70
C0
F0
D8
D8
70
ENDCHAR
STARTCHAR U+0039
ENCODING 57
SWIDTH 1000 0
DWIDTH 6
BBX 5 6 0 0
BITMAP
F8
18
30
@ -150,8 +150,8 @@ F8
60
60
ENDCHAR
STARTCHAR U+003A
ENCODING 58
STARTCHAR U+0038
ENCODING 56
SWIDTH 1000 0
DWIDTH 6
BBX 5 6 0 0
@ -163,8 +163,8 @@ D8
D8
70
ENDCHAR
STARTCHAR U+003B
ENCODING 59
STARTCHAR U+0039
ENCODING 57
SWIDTH 1000 0
DWIDTH 6
BBX 5 6 0 0

View File

@ -1,13 +1,6 @@
# The very small font for locations in menu (6px high, up to 5px wide)
# You can run this through xform.c
110
110
101
101
011
011
11
11
11
@ -22,6 +15,13 @@
1
0
110
110
101
101
011
011
10001
00100
00100