Support and General Use > Theming and Appearance Customization
[App] Rockbox Font Convertor [Windows]
ryran:
Sorry for your free time wasted away, but bascule, that's pretty impressive. :D
Geoff: as I told you a couple weeks ago by email, I'd be happy to host.
iwantanimac:
Yeah, stop updating! :o
It makes it a pain to have to update everything! ;)
Umm... I'm kinda happy with the way it is right now... and i think ill just focus on getting some other more important things working... linke maybe figuring out how to get fonts to look a bit better (There MUST be a way)
Drag 'n' drop is nice... Is it optional? Can i still use it in the same way as before? I understand if it had to change (Again) but i'd prefer to keep it simple.
Some people have said they supported the idea of a GUI. I ain't great at any programming language other than VB, but i want to give C a try... so i'm getting Dev-C++ later along with wxWidgets - is ther much point? Can i have a GUI without wxWidgets - I only looked cause i'd heard of it before (And i'm hoping it's nice and streamlined and fast unlike VB.NET)
The GUI version would (In theory) instead of running separate processes (Like it does now) simply have all the binaries combined into the one program. Maye it could even be set up so that it's GUI by default (Double-Click or Drag/Drop) and if you type an argument like -c or something, it does it command line, faster and more techy oriented.
Dunno how i'll go but seeing how all the binaries used are open source and available, i might as well see what i can do. If anyone knows anything about C programming, that'd be awesome, too.
As for the current version.. it stays. I just got my mirrors to update, so i don't want to put out another update the next day, but i will look at this and maybe in the next version.
I'm wondering also if anyone feels it's worth prettying the app up any more than i have... I'd change the background and foreground colours and the title - 2 lines of code AFAIK - not huge, but i'm just wondering... Please post your thoughts!
bascule:
--- Quote from: iwantanimac on February 28, 2007, 03:32:03 AM ---Drag 'n' drop is nice... Is it optional?
--- End quote ---
Yes it is optional, provided that the new input format is observed if using the command prompt:
makefont filename [filename2 filename3 ...]
Filenames with spaces need to be enclosed in quotes.
E.g. makefont comic.ttf  "comic bold.ttf"
Alternatively, you can drag and drop multiple files onto the batch file and they will all be converted to the requested font size.
Fonts must be in the same folder as the batch file. This seems too complicated to fix ATM, so I am not going to try.
For this revision I focused on the drag and drop ability, as you seemed very keen on it. I see this now as a finished product that anyone could use:
Copy from the system fonts folder on your PC or download some fonts from the internet to the Make Font folder, drag and drop them onto the batch file, enter the required font size or just press return for the default 8pt and bingo! a bunch of fonts ready to be copied across to your Rockboxed player.
--- Quote from: iwantanimac on February 28, 2007, 03:32:03 AM ---Some people have said they supported the idea of a GUI. ...is there much point?
--- End quote ---
I don't think so, unless you want the experience of writing an app for your own benefit ;)
--- Quote from: iwantanimac on February 28, 2007, 03:32:03 AM ---As for the current version.. it stays. I just got my mirrors to update, so i don't want to put out another update the next day, but i will look at this and maybe in the next version.
--- End quote ---
This version also fixes the problem you found with font names starting with a number; in fact it pretty much resolves everything except the anti-aliasing problem...
Like I said above, for me this is a finished version (apart from the help text ;) ) that I am happy with and am not planning to update further.
--- Quote from: iwantanimac on February 28, 2007, 03:32:03 AM ---I'm wondering also if anyone feels it's worth prettying the app up any more than i have... I'd change the background and foreground colours and the title - 2 lines of code AFAIK - not huge, but i'm just wondering... Please post your thoughts!
--- End quote ---
This would be sufficient AFAIAC. Just enough to differentiate it from other scripts people may run, but without the fuss of a GUI.
iwantanimac:
Okay... so to use your newer version, you can go
makefont 12 Lucida Grande.ttf
or
makefont Lucida Grande.ttf
as well as
makefont 12 "Lucida Grande.ttf" "Arial Black.ttf" "Square721 BT.ttf"
And it would still work the same (Apart from the font sizing as 8 on the second, and it converting three fonts on the last?)
Or does it prompt for font size no matter what? - if it does that there should just be a timeout...
bascule:
No. You have to use quotes if there are spaces in the name and you cannot pass the font size via a parameter any more, it's done as a user input in the batch file.
E.g. NOT makefont 12 Lucida Grande.ttf or makefont Lucida Grande.ttf,
but makefont "Lucida Grande.ttf"
and
NOT makefont 12 "Lucida Grande.ttf" "Arial Black.ttf" "Square721 BT.ttf",
but makefont "Lucida Grande.ttf" "Arial Black.ttf" "Square721 BT.ttf"
It always prompts for font size (which is what allows the application to work correctly, as it can't be passed in using drag and drop), but pressing return causes it to default to 8pt.
I'll have a very quick think about a timeout, I've never played with that and now you've got me interested... ;)
It can't be done, at least not with the way I'm currently doing the font size input. it could be kludged by using a picklist of font sizes (press 'A' for 8pt, 'B' for 9 pt etc.) and a delayed loop, but it would be very untidy and, IMHO, not very user-friendly.
I would have thought most people would rather choose their font size than just let the program default and if the reason for not wanting an interruption is to do lots of fonts at once then the current implementation only requires setting the font size once for each batch of files dragged onto it.
And, at the end of the day, if people really want to make it do exactly what they want, they'll jump in a modify the batch file themselves.
You did say:
--- Quote from: iwantanimac on February 27, 2007, 05:29:36 AM ---Oh, and if drag 'n' drop can work - even better! Would make it easier for noobs less talented people :P.
--- End quote ---
If it's the 'I just want it to work' group you are targetting, I would have thought drag and drop plus a straightforward font size prompt would be fine... and far easier than the command line approach.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version