Skip to content

A simple single line font for openframeworks. Intended for machines like laser cutters, pen plotters, CNC-routers,...

Notifications You must be signed in to change notification settings

tobiaszimmer/ofxHersheyFont

Repository files navigation

ofxHersheyFont

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.

example-basic

preview

  • draws all available characters at different scales and rotations.

example-axidraw-hershey

EMS classic Hershey fonts

  • shows how to load other fonts
  • draw them as ofPath

example-python-string

  • 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.

Supported platforms

Tested on

  • macOS 10.15.7, OF 0.11.0

Credits

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.

About

A simple single line font for openframeworks. Intended for machines like laser cutters, pen plotters, CNC-routers,...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published