Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 810 Bytes

README.md

File metadata and controls

38 lines (30 loc) · 810 Bytes

font-to-svg

Generates SVG file from text and font files using Bun.

Probably works in Node.js as well.

Output sample:

sample

sample

sample

Getting started

git clone --depth=1 [email protected]:u1aryz/font-to-svg.git
cd font-to-svg
bun i

To Run:

bun start \
  --fontPath=path/to/fontfile.ttf \
  --text=\"text here\" \
  --letterSpacing=10 \
  --fontSize=300 \
  --color=#0e7490 \
  --outputSvgPath=path/to/output.svg

Show Help:

bun start --help

Check the default values from here.

License

MIT License