dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Search | Go
Wiki > Main > RockboxFontConvertor (r6)

Rockbox Font Convertor

BYO fonts for the Open Source Jukebox Firmware.

I'm happy with the content now. If you want to tidy up bits that are unnecessary, feel free.


Latest Version: 1.2

This version is currently only available with the lite edition. New users please download the full package first, then get the lite edition (Which is a newer version)

Lite (Update) Edition

This is for users who have already downloaded a previous version. The "lite" edition is likely to be updated more often (And faster) than the normal downloads.

To use the Lite edition, you simply replace the previous version's makefont.bat and use it as normal.

Lite Edition mirrors are as follows: Main Mirror (Thanks to Kezza): Lite Edition (Version 1.2)

4Shared File Hosting Mirror: Lite Edition (Version 1.2)

Quina's Mirror: Not Available.

Full Zip Package (Version 1.1)

The following links are to an older version. If you are a new user you must first download the full zip (One of these), then download the latest Lite Edition.

These links are being updated ASAP.

4Shared: Zip Version | 7z Version

Kezza's Mirror: Zip | 7z

Quina's Mirror: Zip | 7z

Thanks to Kezza & Quina for their hosting.

Latest Changes

Version 1.2

+ Fixed Drag-Drop usage. - Fixed Help Prompting.

Version 1.1A

+ Added Multiple Font Processing + Added command for font size

About the program

After reading the thread about converting fonts in this post, I decided to code a batch file to do the work for me. This is the result, the Rockbox font convertor. It ain't in any way pretty, as it's all in command prompt, but it does the job and does it well and pretty damn fast, too.

Included Applications

Both are free, and included, but ill include the links anyway. Just make sure both application files are in the same folder as the batch file and you'll be fine.

How to use the program:

With a reasonable understanding of how the command prompt works

Open a command prompt window to the font convertor folder (Drag and drop doesn't work properly) and type:

makefont [Fontsize] [Fontfile]

The original font can be either a TTF (TrueType) or an OTF (OpenType). It will then convert the file and save it as [fontsize]-[Fontfile].fnt in the same directory as the original font file.

With very little command prompt knowledge

  • Press Start, click Run...
  • In the window that appears, type "cmd" (No "s) and hit enter.
  • Type "cd \" and hit enter.
  • Navigate to the folder containing your font file by doing the following:
    • Look at the folder window where the program is, and note the full address (or Path)
    • In the command prompt window, type "cd " and the name of everything between the first two "\"s
    • For example, if my path is "C:\My Documents\fontconvertor\" then I type "cd My Documents", hit enter, then "cd fontconvertor" and hit enter.
    • Or, you can type the whole path, ie "cd My Documents\fontconvertor" and hit enter.
  • type "makefont [The font size you want in converting] [The name of the font file]" and hit enter (The font size isn't necessary - it uses 8pt if you don't specify.
  • If it claims there is no such file, make sure you type the extension (For most fonts it's ".ttf")
  • The process should complete, displaying it's progress, and tell you when it is complete. Then simply drag the created file onto your player.
If someone thinks I missed something here, please PM me.

Main Features

  • Convert ANY .ttf or .otf file into a rockbox font, without having to remember two program names - just type "makefont [size] [file]" and bam! it's converted.
  • Small, portable - small enough to make no noticable impact on your player's storage.
  • Super-fast - does most of the hard work for you! you don't have to intervene between the two conversions which are performed!
  • Automatically deletes the middle file - The BDF file used to convert is deleted by the program automatically, making the directory slightly more tidy than if it didn't.
  • Waits until you hit a key after finishing so you can check everything went smoothly.
  • Now happily converts fonts with long, spaced filenames (Unless the first word is a number - in which case it doesn't work properly - try putting the filename in ""s)

Known Problems

  • Drag and drop doesn't work.
  • Most modern fonts use Antialiasing to make them look good on-screen. Unfortunately the Rockbox font format does not support this, and fonts created that make heavy use of antialiasing may look blocky as any areas even slightly shaded by the font are shown fully when converted. Antialiasing is something I can't do for the fonts (It would need to be provided by the Rockbox core), however, i may be able to get the fonts to look better by making the antialiased areas default to not showing, however no progress has been made on this.
Please don't add problems here directly. Please post it to one of the forum threads listed below so we can discuss and attempt to recreate the problem and help. -- GeoffStokes

Planned Improvements

  • GUI (Not really necessary, but asthetically better off, as well as for newbie use. Need a simple, light-weight programming language and compiler. Any ideas? - NOT .NET! LIGHTWEIGHT!)
  • if the file is already a BDF, just convert it straight to a .fnt
  • Get drag/drop working (Fixed in version 1.2)

Other Information

Font Sizing

One point i have to make is that setting 8pt is not necessarily making a font that is 8px high. Different fonts have different sizes in their pt size. Have a fiddle with sizing and see what works best.


Also, if anyone downloads this and have any luck/problems please post! I'd love some constructive criticism!

I'm lazy so this was mostly copied verbatim from the Rockbox forum post, which was copied from the original MisticRiver post. Things may have been lost or cleaned up in the translation from VBulletin > Simple Machines > TWiki, however i believe it has been cleaned up pretty well...

This isn't officially supported by any of the rockbox devs (Though i'm sure thy can help). If you need help, PM or email me. I'm sorry it's Windows only - i know 70% of the rockbox community are probably Linux or Mac Os users, but that's what i run and what I'm moderately OK at.

Related Links & Forum Threads

More information and a slightly less technical discussion of this can be found at the MisticRiver Forums, Here

A more technical discussion of the project can be found on the Rockbox forums, Here


Please keep discussion to the forum posts linked above. That way i'll be notified and can help you out.
r6 - 03 Apr 2007 - 14:14:40 - GeoffStokes

Copyright by the contributing authors.