Support and General Use > Theming and Appearance Customization

Help installing convttf

(1/1)

pilotboy:
Hi there!

This is my first post.
I really enjoy using rockbox on my ipod classic 5.5.

I'm looking for a nice font that supporsts Hebrew. Unfortinately, I havn't found any.
After reading up a bit, I came to the conclusion that I need to convert the fonts myself using convttf, on Linux, as the windows version does not support antialiasing.

I'm not very familier with the Linux command line, and I'm struggling to install convttf.

So far I've run: git clone https://github.com/x1unix/convttf.git
Than I ran: cmake convttf/

It started doing stuff but then ran in to an error:
CMake Error at /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS)                 Call Stack (most recent call first): /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.13/Modules/FindFreetype.cmake:156 (find_package_handle_standard_args) CMakeLists.txt:3 (find_package)   

I would apriciate any help, and I thank you in advanced.

Dook:
It's been a while since I did this myself, but I ran into similar issues my first time compiling it too.

 I put together my notes on it in a guide on my website. Three things to note: clone from the rockbox repo itself, you can do this from a github mirror or use the recommended way on the wiki
--- Code: ---git clone git://git.rockbox.org/rockbox
--- End code ---

Second thing to note is you will need to install "freetype-devel" and "freetype2" (or "ftgl") via your package manager. That's the "Could NOT find Freetype" in your error. Last thing to note is that in my guide I say "Element > make convttf." but it's just "make convttf".

pilotboy:
Thank you very much for your help!

I was able to make convttf.

However, when I try to run a conversion, this is what I get:
Please wait, converting /home/yitzi/Downloads/FreeSansBold.ttf:
Writing 0-FreeSansBold.fnt0%) 
Segmentation fault 

Dook:
By the looks of it, you haven't set a size.

For example, to make a size 16 font, you'd do it like this. Your font should end up with a name like "16-FreeSansBold.font"


--- Code: ---/convttf -p 16 -c 1 FreeSansBold.ttf
--- End code ---

Navigation

[0] Message Index

Go to full version