Support and General Use > Theming and Appearance Customization
[App] Rockbox Font Convertor [Windows]
iwantanimac:
ROCKbox Font Convertor
BYO fonts for the Open Source Jukebox Firmware.
..:: DETAILS, LINKS AND UPDATES NOW ON THE ROCKBOX WIKI ::..
http://www.rockbox.org/twiki/bin/view/Main/RockboxFontConvertor
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.
More information and a slightly more technical discussion of this can be found at the MisticRiver Forums, [Here]
The Wiki page contains all the links and details you should need. See it [Here]
Cheers Guys,
iwantanimac
bascule:
--- Quote ---allow font size to be set from command line -OR- default to standard setting in batch file. (Very Soon - Need help implementing this in a batch file)
--- End quote ---
Done. Attached version of batch file allows fontsize setting using parameter 2:
--- Code: ---makefont [Fontfile] [Fontsize]
--- End code ---
--- Quote ---Errors if the font filename has a space. (eg. Lucida Grande.ttf) - tries to find both "Lucida" and "Grande.ttf" solved by renaming the file.
--- End quote ---
Done. Attached version of batch file detects and allows up to one space in the font name:
--- Code: ---makefont Lucidia Grande.ttf - This is OK
makefont Lucidia Grande Bold.ttf - This will still NOT work
--- End code ---
Font size feature from above change also included
--- Code: ---makefont Lucidia Grande.ttf 14 - This will work OK
--- End code ---
[attachment deleted by admin, too old]
ryran:
nice job bascule.
ps to Geoff: check the code for your mirror links.
iwantanimac:
Wow, thanks! That's brilliant.
Now i have to update my posts =P
And about the links: I thought the http was conflicting before, but it seems it wasn't =/ Fixing now...
Flid:
Cheers Geoff & Bascule. Nice little DOS utility.
However, I can't get the font height switches to work? It always reverts to it's default 8 point . Guidance appreciated, thanks.
Edit:-
Ok... sussed it. I read the wiki and discovered that I had to directly manipulate/edit the .bat file. I now have makefont10.bat, makefont12, makefont14 etc.
Navigation
[0] Message Index
[#] Next page
Go to full version