c++ port of truetype-tracer (font to G-code/DXF converter)
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


True-type tracer

Experimental C++ port, with python bindings, of True-type tracer, forked from Chris Radek’s site at http://timeguy.com/cradek/01276453959 Original git repo at git://timeguy.com/truetype-tracer.git

Uses FreeType to produce font-outline geometry in various output formats such as:

  • G-code

  • DXF (broken, see To-Do list)

Dependencies: git, cmake, FreeType, boost-python.

Installation from PPA
$ sudo add-apt-repository ppa:anders-e-e-wallin/cam
$ sudo apt-get update
$ sudo apt-get install truetypetracer
Installation from source
$ git clone https://aewallin@github.com/aewallin/truetype-tracer.git
$ cd truetype-tracer
$ mkdir build
$ cd build
$ cmake ../src
$ make
$ sudo make install
  • Make it possible to change the font.

  • Auto-scale output to be of certain width/height.

  • Clean up the interface and API (now it’s not very clear how to use ttt…​)

  • DXF_Writer: Make DXF output work.

  • SVG output? (write a new class SVG_Writer)

  • NGC_Writer:

    • make variables optional, for controllers that don’t have LinuxCNC-like variables

    • make number of digits afer decimal point adjustable

  • Use Kerning to avoid overlapping characters. See http://www.freetype.org/freetype2/docs/tutorial/step2.html