ttf2svg is a very simple program I wrote to help me examine the vectors present in a TrueType file by exporting them as SVG paths. The program is poorly named in that it makes no attempt at performing a faithful conversion of the TrueType file to an SVG file. It will happily discard all data in the original font except for the vectors.
The source code is available via the git tool using a URL very similar to the current page. More specifically, the following command can be used to obtain the source code:
git clone git://people.freedesktop.org/~cworth/ttf2svg
In the future, newer versions of the software (if any) can be obtained by running the following command in the directory that results from the "git clone" operation:
git pull
The program is about as simple as could be right now. Just provide it the filename of a TrueType font file on the command line and it will emit an SVG file on stdout. Typical usage would look like:
./ttf2svg file.ttf > file.svg
The SVG it currently generates won't be immediately useful for at least a couple of reasons:
Have fun, and let me know if you have any questions.
-Carl Worth <cworth@cworth.org>