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



Rockbox mail archive

Subject: Re: [PATCH] compiled-in and loadable fonts

Re: [PATCH] compiled-in and loadable fonts

From: Greg Haerr <greg_at_censoft.com>
Date: Thu, 12 Sep 2002 08:40:14 -0600

: The built-in fonts never were made as .bdf fonts. If we want them, we should
: convert them over to BDF ourselves. The monospaced ones came from Gary a long
: time ago, and dwihno made the proportional one.

We need to pick a small font with BDF source that you like
for the FONT_SYSFIXED and/or FONT_UI font. I thought I
heard you write that you had a small 6x8 bdf file (which at
least from the width*height matched the original font).

Otherwise we've got to unrotate the original font or find some
sneaky means of getting it's bitmap data.

We can remove the FONT_SYSFIXED requirement if you
like, it is only used during system panic and the show_logo
currently. I designed it as a small compiled-in font fallback
if the loadable system.fnt can't be found.


: > I'll add the 0x7e max char option to bdf2c and that will generate much
: > smaller fonts.
:
: Perhaps we should have the limit configurable, as for plain iso8859-1 I'd
: like 0xff letters. (Us swedes and others have some of those 8-bit letters in
: our alphabets.)

I'll make it configurable. I agree that Rockbox could use
plain iso8859-1 for text encoding (rather than unicode) for the
time being. Is this the format of the FAT32 filesystem
filename bytes??


: >From another project of mine, I have footers like this in all source files,
: which I believe works for vim too:

Thanks for the indent data. I've been trying to figure that
out for a long time (try reading the vim manual, it's _huge_)

Regards,

Greg
Received on 2002-09-12

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy