Rockbox

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Patches
  • Category User Interface → Font/charset
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Ori Avtalion - 2008-04-12

FS#8877 - DejaVu-based fonts

I 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.

Trent McPheron commented on 2008-04-12 16:47

I really like it. The unicode font I'm currently using for my theme currently lacks accented characters. It's 16 px high. May I request bigger versions of this font so that I might use it in my own theme?

Ori Avtalion commented on 2008-04-12 17:06

There you go :)

Trent McPheron commented on 2008-04-12 17:22

Hold on a moment, something's really messed up in your first zip file. (Or rather, your tar.gz file.) Sometimes WinRAR calls it corrupt, and sometimes, only one file appears, a .tar-1 file. If I open it, it shows an extension-less file called dejavu8-12.

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.

Trent McPheron commented on 2008-04-12 17:25

Additionally, convbdf shows an EOF on font header when trying to convert the said BDF file.

Ori Avtalion commented on 2008-04-12 17:30

The first archive file downloads and extracts just fine on my machine. Try using 7-zip.

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.

Ori Avtalion commented on 2008-04-12 17:42

I see no error with any of the files. Make sure you decompress dejavu16.bdf.gz before running convbdf.

Trent McPheron commented on 2008-04-12 17:55

I decompressed it and got an error. Certain font sizes cause the Font Converter to crash, too. Maybe it has something to do with Windows. You're obviously on linux, uploading this tar.gz pack here. Maybe you're having much better luck with converting the files.

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.

Ori Avtalion commented on 2008-04-12 18:25

Here's a zip with FNT files.
22pt upwards gave overflow errors in convbdf. I don't know how that affects the output.
Use at your own risk :)

Trent McPheron commented on 2008-04-12 18:30

The font sizes are deceiving. Font size 11 is actually 16 pixels high, so the font sizes that did work are probably enough. And they look much better converted by you.

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.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing