Generates SVG file from text and font files using Bun
.
Probably works in Node.js
as well.
Output sample:
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.