jaywcjlove / svgtofont

Read a set of SVG icons and ouput a TTF/EOT/WOFF/WOFF2/SVG font.
https://jaywcjlove.github.io/svgtofont
MIT License
515 stars 81 forks source link

support regex to source argument in command #223

Open amirali079 opened 3 months ago

amirali079 commented 3 months ago

I want to read all svg files in all folders in root folder and I must use regex in source argument in command.

my command is : " svgtofont --sources icons/svg/*/.svg --output icons/font "

but command argument not support regex and give "The directory does not exist! C:\icons\svg*\.svg" this error!

can support regex for this command ?

jaywcjlove commented 3 months ago

@amirali079 I don't plan to support regex syntax for the 'sources' parameter. If you're interested, you can submit a pull request (PR).