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: Re[2]: converting old fonts started
From: Greg Haerr (greg_at_censoft.com)
Date: 2002-09-18


: And they seem to be no proportional fonts.

You might "make" them proportional by giving some of
the characters slimmed-down DWIDTH values, after
looking at the generated .c source bitmaps for reference.

: Done. And the "STARTCHAR decXY" is only a description and I can change
: them to start at 32, too?

Yes, the string following STARTCHAR is supposed to be the
official name of the character. I would remove any chars
and not use any description, using only ENCODING to
properly specify the encoding value.

: : - "SWIDTH:" - what's this?

Stands for scalable width, used only for printing. You can
remove all SWIDTH from the file.

: - ...all the values before the char definitions start.

I would use the values from X5x8.bdf or another small
font, FONT_ASCENT, FONT_DESCENT
,FOUNDBOUNDINGBOX, STARTFONT and FONT
are the only ones that matter.

:
: The newpropfont.bdf in the attachment seems to have an empty column at
: the left of each character, I don't know if this is correct (look at
: the bmp images, created with bdf2bmp.c found somewhere in the net).

I'll take a look at it.

Regards,

Greg



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