This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#8877 - DejaVu-based fonts
Attached to Project:
Rockbox
Opened by Ori Avtalion (salty-horse) - Saturday, 12 April 2008, 13:14 GMT+2
Opened by Ori Avtalion (salty-horse) - Saturday, 12 April 2008, 13:14 GMT+2
|
DetailsI created the following fonts from DejaVuSans.ttf using ttf2bdf.
I use them as an alternative for unifont, which is fixed-width. Attached are a screenshot and a tarball with 8 to 12pt versions of the font. Perhaps they could be included in the official distribution, if others like them. |
This task depends upon
Why not just use a zip file?
The dejavu16 is just a BDF file. I don't mind converting it to FNT, but it's not very useful to most users like that.
I'm curious, what are you using to convert it? Rockbox Font Converter saves the fonts too big (10pt font looks like 14px size), and some sizes are just ugly.
I created the fonts with the ttf2bdf available from here: http://anakin.ncst.ernet.in/~aparna/consolidated/CD/ttf2bdf/
and the command:
./ttf2bdf -p 16 -o dejavu16.bdf DejaVuSans.ttf
Then I use the tools/convbdf tool from the rockbox source tree.
I am supplying bdf files on purpose since that is the format of the fonts in the rockbox source tree. They are not here for user convenience -- This is a bug tracker after all. If you have some other place you want it uploaded to, tell me.
Ideally, we'd want this to be a pack of fonts we can switch into any theme in order to add unicode support to it. Well, that's how I'd see it. Is that how you see it?
Anyways, if you don't mind, this is what I'd like to ask you to do: Convert this font for the following sizes (as in font heights): 8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24. I can only think of one theme that uses a bigger font size, and I can't think of what it is. Then, please add the resulting .FNT files to a .ZIP file, and upload it here. It's just a request, you've no obligation to follow it. But it would be a tremendous help for those of us with unicode-tagged songs.
22pt upwards gave overflow errors in convbdf. I don't know how that affects the output.
Use at your own risk :)
Also, this can't truly replace unifont; there aren't any asian characters. I just now found that out. (Sigh.) I'm sure someone else can find it useful, but I can't.