Giter Club home page Giter Club logo

ofxhersheyfont's Introduction

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.

ofxhersheyfont's People

Contributors

stephanschulz avatar tobiaszimmer avatar

Stargazers

E.L. Guerrero avatar Nestor Rubio avatar Jaime Liew avatar Sam Mason de Caires avatar Mauro Bianchi avatar Daan de Lange avatar  avatar hansi raber avatar Bruno Herfst avatar RJ Duran avatar fro avatar Jesse Louis-Rosenberg avatar Justin Wong avatar Michael Jett avatar Julian Hespenheide avatar liquid avatar Guido Schmidt avatar Jasper van Loenen avatar Clem avatar carles avatar Eelke Feenstra avatar Zaidin Amiot avatar Yohann LYD avatar

Watchers

carles avatar  avatar

ofxhersheyfont's Issues

Persian Hershey Font

hi , sorry to open ticket for my question , do you know instruction or software to convert specific fonts (Persian ) to Hershey fonts?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.