Warning: mysqli_real_connect(): Headers and client library minor version mismatch. Headers:50625 Library:50543 in /sites/rockbox.org/flyspray/adodb/drivers/adodb-mysqli.inc.php on line 108 FS#9347 : Font cleanup (unicode, renaming)



FS#9347 - Font cleanup (unicode, renaming)

Attached to Project: Rockbox
Opened by Jonas Häggqvist (rasher) - Monday, 01 September 2008, 00:24 GMT
Last edited by Jens Arnold (amiconn) - Tuesday, 02 September 2008, 23:31 GMT
Task Type Patches
Category Font/charset
Status Closed
Assigned To Jonas Häggqvist (rasher)
Jens Arnold (amiconn)
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Version 3.1
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The attached patch converts all fonts to ISO10646-1 encoding.

This is done using the attached script, or manually for the current ISO8859-1 fonts which simply needed editing of the header, as well as adding appropriate properties to some current ISO10646-1 fonts without any information saying so.

Furthermore, I suggest renaming fonts to make things less confusing:

courB08.bdf => Courier-Bold-8.bdf
snap.bdf => snap-10.bdf
win_crox0c.bdf => Cronyx-Fixed-10.bdf
win_crox1c.bdf => Cronyx-Courier-8.bdf
win_crox2c.bdf => Cronyx-Courier-10.bdf
win_crox3c.bdf => Cronyx-Courier-12.bdf
win_crox4h.bdf => Cronyx-Helvetica-14.bdf
win_crox5t.bdf => Cronyx-Times-18.bdf

And the same way for the rest. Include the actual font name, variation and size rather than a cryptic shortened version of both. Maybe the size should come first, since that's often what's most important to the user?

Finally, alt8x8.bdf should probably just be deleted.

To use any2unicode.pl you need the MAPPINGS dir from ftp://ftp.unicode.org/Public/
This task depends upon

Closed by  Jens Arnold (amiconn)
Tuesday, 02 September 2008, 23:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  Unicode conversion and renaming (using correct pixel heights) committed to SVN. Some fonts were removed for various reasons, see r18381, r18385 and r18388.
Comment by Jonas Häggqvist (rasher) - Monday, 01 September 2008, 17:29 GMT
The attached script renames fonts to the format SS-Family-Variant.bdf. In some cases I have included foundry (Adobe, Cronyx), but I guess that could be left out. The script should be quite easy to modify to suggest changes.

For some fonts, the size I typed (from a quick glance at FONTBOUNDINGBOX) is obviously wrong, but this is a start.