Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
translations translations
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Help installing convttf
« previous next »
  • Print
Pages: [1]

Author Topic: Help installing convttf  (Read 1223 times)

Offline pilotboy

  • Member
  • *
  • Posts: 2
Help installing convttf
« on: September 10, 2023, 09:16:34 PM »
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.
Logged

Offline Dook

  • Member
  • *
  • Posts: 66
    • D00k.net
Re: Help installing convttf
« Reply #1 on: September 11, 2023, 07:40:52 AM »
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: [Select]
git clone git://git.rockbox.org/rockbox
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".
Logged

Offline pilotboy

  • Member
  • *
  • Posts: 2
Re: Help installing convttf
« Reply #2 on: September 11, 2023, 07:34:59 PM »
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 
Logged

Offline Dook

  • Member
  • *
  • Posts: 66
    • D00k.net
Re: Help installing convttf
« Reply #3 on: September 13, 2023, 06:41:22 AM »
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: [Select]
/convttf -p 16 -c 1 FreeSansBold.ttf
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Help installing convttf
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.059 seconds with 18 queries.