danmarshall / google-font-to-svg-path

Create an SVG path from a Google font
https://danmarshall.github.io/google-font-to-svg-path
MIT License
754 stars 128 forks source link

Command line usage? #28

Closed tennessinegd closed 2 years ago

tennessinegd commented 2 years ago

I need to automatically convert the input text to SVG using a local font file. How could I use this program through the command line instead of using the GUI?

danmarshall commented 2 years ago

Hi @tennessinegd , this repo doesn't have a command line option. You might try this library: https://github.com/shrhdk/text-to-svg

Both this repo and text-to-svg use opentype.js.

tennessinegd commented 2 years ago

Thank you, I'll look into it.