-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fonts with comma in filename break on CLI #38
Comments
Looks like a limitation of cxxopts: jarro2783/cxxopts#228 You can add Or maybe we should just require the input doesn't have commas? |
I think it would be nice to have a specific error thrown/logged, I spent quite a while trying to figure out if my font was broken. On the other hand if I understand correctly the CLI is a bit semi-official, so maybe I'm just an outlier for both using the CLI and using the raw font names from google fonts. Either way, thanks so much for the tool :) |
Should be fixed in #39 , thanks. |
Hello!
I was using the CLI to convert google fonts and it seems like it cannot handle files with commas like for example the upstream google font "NotoSans[wdth,wght].ttf". It seems like the web version works fine.
If I just rename the font to not include a comma it works.
Thanks!
How to reproduce
./font-maker --name "NotoSans" "./tmp" "./NotoSans[wdth,wght].ttf"
Attachments
NotoSans[wdth,wght].zip
The text was updated successfully, but these errors were encountered: