Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: [PATCH] new default font, cleanup, bug fix
From: Greg Haerr (greg_at_censoft.com)
Date: 2002-09-18


I've attached what I think is my final patch for loadable
fonts for rockbox. This patch fixes the following:

1. New readable compiled-in font (clR6x8.bdf - thanks Bjorn Fischer)
(this may change later, but it's _much_ better than X5x8)

2. Fixed bad font rotation mode for certain fonts (space character
showed dots rather than blank)

3. General cleanup: merged firmware/loadfont.c with firmware/font.c,
moved some extern declarations.

4. Added font_free() function, allows somebody to write
font browser by freeing current font and loading another
with font_load().

Bjorn: the attached patch can be applied to the current
CVS. The two attached additional files need to be committed
to the following locations:

clR6x8.c - firmware/clR6x8.c
clR6x8.bdf - firmware/clR6x8.bdf

In addition, the following files should now be deleted
out of CVS:

firmware/X5x8.c
firmware/X5x8.bdf
firmware/loadfont.c
tools/bdf2fnt
tools/loadrbf.c
tools/writerbf.c
tools/bdf2c

(note: this patch is in rockbox-compatible style. I had created
the previous tools/convbdf.c for Microwindows as well, that's
why I submitted it with 8-char tabs)

Regards,

Greg





Page was last modified "Jan 10 2012" The Rockbox Crew
aaa