javascript library for using Hershey Fonts inside a web page
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



HersheyReturns uses the Hershey fonts dataset to display text with svg characters. The conversion method is similar to the one used here : and here : but this project is more focused on applying hershey fonts to existing html elements with precise and customizable scaling and letters/words/lines spacing. The goal is to make a usable and evolvable library for an entire website or application. The first and current version is written for the website It works with Jquery, Raphael.js + svg Hershey fonts (initially uploaded here :

Main features are :

  • uses color, font-size, line-height, letter-spacing, text-align css standard attributes
  • independent scale width and scale height with no stroke deformation
  • adapts on window resize
  • automatic word wrapping without any character cut off