techninja / hersheytextjs

A port of the Hershey engraving fonts to JSON for JavaScript/SVG
http://techninja.github.io/hersheytextjs/
MIT License
58 stars 6 forks source link

Support line breaks, line-height and alignment #7

Open jvolker opened 3 years ago

jvolker commented 3 years ago

@techninja

I'm probably going to extend this awesome package for my own purposes in the near future to support line breaks, line-height and alignment and improve other things. I wouldn't mind sending a PR with my results. Is this something you are interested in?

Also to make this a bit easier I would prefer to remove fs as a dependency and remove reading from JSON as mentioned in #6. I'm mainly targeting the browser and prefer to use the updated SVG fonts. Would you support going that direction?