Login  Register

Re: Font Roboto in LibreCAD

Posted by LordOfBikes on Nov 01, 2023; 6:28pm
URL: https://forum.librecad.org/Font-Roboto-in-LibreCAD-tp5723727p5723779.html

I'm glad, that it worked for you.
Meanwhile it is fixed, blanks in upload filenames are OK, but they are removed for LFF output, to avoid issues using them with LibreCAD.

The ttf2lff source is kept inside the main LibreCAD code base:
https://github.com/LibreCAD/LibreCAD/tree/master/tools/ttf2lff

Sadly, there is not THE precompiled/binary of ttf2lff, it has dependencies, libraries, which could be different on various Linux distributions. So it would need it's own deployment or distribution package for each Linux distribution and probably release version.
When LibreCAD is built from source, all dependencies for ttf2lff are fulfilled on that specific Linux machine, and it will work, but the binary can't be copied to a different distribution or release version.
That ttf2lff is built with LibreCAD, the additional package libfreetype-dev has to be installed, beside the other requirements for LibreCAD itself.

Following instructions should probably work for most Ubuntu derivates:
https://github.com/LibreCAD/LibreCAD/wiki/Build-from-source
The executable is then in the unix folder, beside the librecad executable.

Armin
investing less than half an hour into Search function can save hours or days of waiting for a solution