Rockbox Technical Forums

Rockbox Development => Feature Ideas => Topic started by: robin0800 on April 15, 2009, 03:15:52 AM

Title: System default Font
Post by: robin0800 on April 15, 2009, 03:15:52 AM
Just  a thought it would be nice if the system default font could be user changeable, with a setting in the system menu, thus allowing 2 user selectable fonts for WPS.
Title: Re: System default Font
Post by: Llorean on April 15, 2009, 06:49:17 AM
The whole point of the system font is to be compiled in. This request makes no sense since it's even more complicated than adding a second loadable font is without messing with the system font.
Title: Re: System default Font
Post by: reszerve on August 23, 2009, 01:40:33 AM
Being able to change the system font is a really really good idea.

Why does it need to be compiled in?  What is the "whole point"?

Why not compile in small medium large fonts - the default is TINY on a Toshiba f/x/s.

Remember Rockbox goes on a big variety of players - one size does not fit all.


Cheers
 :-*
Title: Re: System default Font
Post by: pixelma on August 23, 2009, 04:57:27 AM
The point of the compiled in system font is to have a fallback in case of error - to get error messages shown even if e.g. font loading already fails. You should actually never see it.

A font that is compiled in makes the whole firmware file bigger, that's why a small font is chosen and also with a smaller character set, just enough to display error messages.

The fact that you can use the system font in the WPS is just an offer for at least one other font because it was easy to do, more or less a byproduct.

The correct (and wanted) way would be to have 2 or more user defineable fonts loaded from disk , known as "multi-font" - which of course is more complicated than one loaded font + the compiled in. Unfortunately no-one did the hard work of implementing this in a non-hackish way, there is just talk about how nice it would be...
Title: Re: System default Font
Post by: bluebrother on August 23, 2009, 12:28:58 PM
Being able to change the system font is a really really good idea.
no it's not ...

Quote
Why does it need to be compiled in?  What is the "whole point"?
To have a font that's always available. Just imagine an incomplete installation with all font files missing. How would you display an error message about that? How would you display messages in the bootloader, which doesn't (and can't) load fonts at all?

Quote
Why not compile in small medium large fonts - the default is TINY on a Toshiba f/x/s.
You gave the reason yourself -- because Rockbox runs on a wide range of players, and the system font needs to fit on players with small screens as well. Supporting different system fonts for different players is work someone needs to do, and you should see the system font only in case of system errors anyway. Besides, the system font is perfectly readable on the Gigabeat, so there's no real problem with that if you happen to need reading some error message displayed in the system font.