Rockbox mail archive
Subject: Re: [PATCH] compiled-in and loadable fonts
From: Daniel Stenberg (daniel_at_haxx.se)
Date: 2002-09-12
- Next message: George Styles: "Re: apps credits.c,1.26,1.27 main.c,1.52,1.53 main_menu.c,1.57,1.58 menu.c,1.40,1.41 settings.c,1.53,1.54 tree.c,1.120,1.121 wps-display.c,1.18,1.19 wps.c,1.142,1.143"
- Previous message: Stuart Tedford: "RE: Rockbox for the player"
- In reply to: Greg Haerr: "[PATCH] compiled-in and loadable fonts"
- Next in thread: Greg Haerr: "Re: [PATCH] compiled-in and loadable fonts"
- Reply: Greg Haerr: "Re: [PATCH] compiled-in and loadable fonts"
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
[ attachment ]
On Wed, 11 Sep 2002, Greg Haerr wrote:
> To make the system for testing, ./configure and select NO for loadable
> fonts, and YES for proportional fonts. Then copy some .fnt file to
> /system.fnt (I am using the large courB14.fnt to show the coolness of large
> fonts).
I removed the dependency of this before I committed. This is now built-in
default. The propfonts/loadable fonts defines are now history.
> To create a new .fnt file for your own pleasure, say from source
> courB08.bdf, do the following:
We really need a more comfortable way of doing this, a shell script and a
perl script makes things very hard for windows users.
> 1. This patch doesn't cleanup the LOADABLE_FONTS and non LCD_PROPFONTS
> code. I'll do that after the patch is accepted.
I did that.
> Also, the Cyrillic font isn't tested yet, I'll try to do that tonight and
> talk with Alex about it (it needs codepage support added to my code)
Yes, that needs to be sorted out. That fat.c code used before was horribly
ugly.
> 4. Currently, .bdf files get fully converted, supporting ISO8859-1. I'm
> going to add an option for just ascii 20-0x7e to the conversion files.
> This will make font and compiled-in files smaller.
Right, the helv08.bdf font I've had testing with creates a HUGE .fnt file
that doesn't load properly. And thus I haven't been able to test your code
for proportional fonts, just because I know of no other prop .bdf.
> 5. I want to rename some lcd_ functions to a higher level, that is,
> font_xxx. This is because these functions are not strictly driver level
> function, and all depend on lcd_bitmap. Likewise, the lcd_drawline et al
> should move to a different file at least, perhaps firmware/graphics.c.
> I'll look at all this after the patch is accepted and we have a single font
> system.
I agree with that.
You'll notice that I re-indented your code to Rockbox standard and a few
other minor things.
Now, the work with getting this to work properly all over can begin!
--
Daniel "Bagder" Stenberg -- http://rockbox.haxx.se/
- Next message: George Styles: "Re: apps credits.c,1.26,1.27 main.c,1.52,1.53 main_menu.c,1.57,1.58 menu.c,1.40,1.41 settings.c,1.53,1.54 tree.c,1.120,1.121 wps-display.c,1.18,1.19 wps.c,1.142,1.143"
- Previous message: Stuart Tedford: "RE: Rockbox for the player"
- In reply to: Greg Haerr: "[PATCH] compiled-in and loadable fonts"
- Next in thread: Greg Haerr: "Re: [PATCH] compiled-in and loadable fonts"
- Reply: Greg Haerr: "Re: [PATCH] compiled-in and loadable fonts"
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
[ attachment ]
Page was last modified "Jan 10 2012" The Rockbox Crew
|