You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the suggestion, I've added this case into #6!
Digging in, {{fontname}} could be a directory or a single file.
If {{filename}} is a directory, then: fetch all .ttf files, place them inside tmp/ and pipe them into CLI conversion method so user can choose what format and in the end generate font-face.
if {{filename}} is a single file, then: fetch it, place inside tmp/ and pipe it into CLI conversion method so user can choose what format and in the end generate font-face.
I don't know if place into system's font directory is the best approach, since it's job of -g.
My concern is how fontwr install will behave with external added fonts...
Any PR is welcome, but I recommend try after 1.0.0-beta.2
Sometimes you need to add custom or paid fonts in your project.
Would be nice if there was a command like
fontwr add {{fontname}}
, where{{fontname}}
is the path to the font folder.Obviously the added fonts should be placed into the system's font directory.
The text was updated successfully, but these errors were encountered: