Skip to content

u1aryz/font-to-svg

Repository files navigation

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 git@github.com: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

About

Generates SVG file from text and font files using Bun.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published