Rockbox Development > Starting Development and Compiling
AA font conversion problem using CygWin
raudonkepuraite:
Hello,
I'm really new to this compiling thing and as I understand, in order to create antialiased fonts I need to use convttf tool. So I installed Cygwin using tutorial given in wiki and got the source code using Cygwin. Since the information about converting ttf font to rockbox's fnt font format (antialiased one) is rather limited for someone who doesn't know almost anything about compiling (and its idiot-proof too :-\ ) I did this:
in cygwin I cd to rockbox (thats where I got the source code),
then wrote "tools/convttf -p 15 -c 1 /tools/Baramond.ttf" (similary to how its writen in wiki and I had that Baramond.ttf font in tools folder) and it told me that theres "no such file or directory").
then i tryed "tools/convttf.c -p 15 -c 1 /tools/Baramond.ttf", the result was getting back to user@pc with no error message or anything. After that i tryed putting Baramond.ttf everywhere :D and using different paths :D ... that didn't help either.
I have cygwin instaled right into C:\ so there are no spaces in the path.
So can someone tell me how to do it right? :D
Chronon:
Try changing directories to the "tools" directory and then run
--- Code: ---./convttf -p 15 -c 1 ./Baramond.ttf
--- End code ---
raudonkepuraite:
did this:
cd rockbox/tools
./convttf -p 15 -c 1 ./Baramond.ttf
got this:
bash: ./convttf: No such file or directory
And if i do it with .c
by doing this:
cd rockbox/tools
./convttf.c -p 15 -c 1 ./Baramond.ttf
then pc thinks like for a second or two and throws me back to "user@pc ~"
I tryed searching (manually and using search) for 15-Baramond.fnt since my pc did something, but theres nothing.
Chronon:
That seems to indicate that convttf isn't in the current directory. Is there a binary named "convttf" in that directory? I had to run "make" in the tools directory to build it from convttf.c.
raudonkepuraite:
I didn't do that becouse there was nothing about it in font related documents on wiki :-[
Now that I did it many (5 actually) binary files appeared, yet convttf.exe (if thats what i should be looking for) isn't there and I got a wall of text showing "mkzenboot" errors.
Converting font doesn't work...
Navigation
[0] Message Index
[#] Next page
Go to full version