How do I use external fonts with QCAD?
I'm trying to do a laser cutter design. QCAD works quite well for the layout of the various cut parts. However, I don't see how to get text in a font other than those included by default. The fonts that come with QCAD are fine for machining drawings, but for text that actually ends up on the finished part, I need fonts that look good.
Fonts?
Moderator: andrew
Maybe you are using Linux, so one thing you can do is to convert a True Type Font in cxf format using ttf2cxf (please refer to this topic).
-
- Junior Member
- Posts: 12
- Joined: Tue Aug 05, 2008 11:11 pm
Since I was unable to find a binary for ttf2cxf, I downloaded the source code here <ftp://ribbonsoft.com/archives/ttf2cxf/t ... src.tar.gz> but can't get it to compile.Lorenzo wrote:Maybe you are using Linux, so one thing you can do is to convert a True Type Font in cxf format using ttf2cxf (please refer to this topic).
I'm not experienced at compiling from source --in fact this is my first attempt. I'm running Ubuntu Jaunty so I scoured the Ubuntu forums for tips on how to compile.
I have been at this for days and am getting nowhere.
This is the result of my latest attempt. When I run "make" I get the following results:
charley@ubuntu1:/usr/local/src/ttf2cxf-0.0.0.1-src$ make
g++ -o ttf2cxf -I/usr/include/freetype2 -lfreetype main.cpp
main.cpp: In function ‘int conicTo(FT_Vector*, FT_Vector*, void*)’:
main.cpp:92: error: ‘pow’ was not declared in this scope
main.cpp: In function ‘FT_Error convertGlyph(FT_ULong)’:
main.cpp:152: warning: format ‘%04X’ expects type ‘unsigned int’, but argument 3 has type ‘FT_ULong’
make: *** [all] Error 1
I'm stuck at this point --any help will be much appreciated