Skip to content
This repository was archived by the owner on Sep 8, 2021. It is now read-only.

Only seems to export Regular weight #16

Open
Wevah opened this issue Oct 22, 2019 · 2 comments
Open

Only seems to export Regular weight #16

Wevah opened this issue Oct 22, 2019 · 2 comments

Comments

@Wevah
Copy link

Wevah commented Oct 22, 2019

I can't seem to get sfsymbols to export using any weights other than regular. When I specifiy, e.g., thin, I still get a Regular glyph (which is still better than no glyph, of course!).

@davedelong
Copy link
Owner

I think this is a side-effect of #8; Right now sfsymbols has a hard time find fonts that aren't the fallback font inside SF Symbols.app, and that font only has a single weight.

I'll dig in to this a bit, but in the meantime you can probably work around this by manually specifying the path to the right file, for example:

$ sfsymbols --font-file /Library/Fonts/SF-Pro-Display-Thin.otf

@Wevah
Copy link
Author

Wevah commented Oct 22, 2019

I can verify that specifying the font manually does the trick.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants