A simple single line font for openFrameworks.
This version of ofxHersheyFont uses these SVG fonts which are provided by the excellent Hershey Text Extension for Inkscape by Evil Mad Scientist.
Best to be used if you want to carve/engrave text with machines like CNC-routers or lasercutters.
- draws all available characters at different scales and rotations.
- shows how to load other fonts
- draw them as
ofPath
- I added
string ofxHersheyFont::getPath_asPythonString(string stringValue, string prefix, float xPos, float yPos, float scale)
to extract the font's paths and construct a string that can be used to send a python command to my Axidraw plotter. - I am use this function in this example_axidraw_python_hershey.
Tested on
- macOS 10.15.7, OF 0.11.0
The Hershey Font was developed by Dr. Allen V. Hershey in 1967.
The original addon by tobiaszimmer contained the 'Simplex' characters of the Hershey Font (ASCII codes 32 – 126), which were made available by Paul Bourke. http://paulbourke.net/dataformats/hershey/
This updated draws with axidraw SVG fonts, including classic Hershey fonts and ESM fonts.