# KM Hershey Text

An Inkscape extension for rendering text using single-stroke (engraving) fonts. Designed for pen plotters, laser engravers, and CNC machines where stroke-based fonts produce cleaner results than filled outline fonts.  Basically like the built-in hershey text extension but with a generate text option and a few more fonts.


## Manual Installation

1. Create the subdirectory `km-hershey/` in your Inkscape extensions folder:
   - **Linux:** `~/.config/inkscape/extensions/`
   - **Linux (Flatpak):** `~/.var/app/org.inkscape.Inkscape/config/inkscape/extensions/`
   - **Linux (Snap):** `~/snap/inkscape/current/.config/inkscape/extensions/`
   - **macOS:** `~/Library/Application Support/org.inkscape.Inkscape/config/inkscape/extensions/`
   - **Windows:** `%APPDATA%\inkscape\extensions\`
2. Copy all files from this repository into your `km-hershey/` directory.
3. Restart Inkscape. The extension appears under **Extensions > Knox Makers > Laser > Hershey Text**.

## Acknowledgements

Inspiration, examples, and code came from:

The now Inkscape built-in hershey text extension  
https://gitlab.com/inkscape/extensions/-/blob/master/hershey.py

Which originally came from from Evil Mad Scientist Laboratories  
https://github.com/evil-mad/

Based on Hershey fonts created for plotters  
https://en.wikipedia.org/wiki/Hershey_fonts

Cutlings  
https://cutlings.datafil.no/