Skip to content
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

Pro-only icons aren't included in fa_icons.py #3

Open
sersorrel opened this issue Nov 26, 2018 · 5 comments
Open

Pro-only icons aren't included in fa_icons.py #3

sersorrel opened this issue Nov 26, 2018 · 5 comments

Comments

@sersorrel
Copy link
Contributor

I believe this is a list of all icons only available in Font Awesome Pro – as far as I can tell, none of them are in fa_icons.py.

@sersorrel sersorrel changed the title Pro-only icons aren't included in Pro-only icons aren't included in fa_icons.py Nov 26, 2018
@cboddy
Copy link
Owner

cboddy commented Nov 27, 2018

OK, but are the font-awesome pro icons in the debian package? If not it won't render them anyway.

You could check by trying to render a pro icon after installing the fonts-font-awesome package, if it works then we can update fa_icons with the pro icons too.

@sersorrel
Copy link
Contributor Author

I assume they're not in the package, but given I've paid for the Pro icons I'd quite like to be able to use them, and I'd rather not have to use my own patched version of i3-workspace-names-daemon in order to do so.

@kensand
Copy link
Contributor

kensand commented Nov 27, 2018

If you can find another way to install a version of font awesome with the pro icons then it can probably be integrated with this script. If you can provide a list of their names and unicode values, then they can be added to fa_icons.py, but people without the pro icons would not be able to use them. So they should probably be put in a separate file that can be referenced for pro users.

@cboddy
Copy link
Owner

cboddy commented Dec 12, 2018

OK, that is interesting @anowlcalledjosh

I'm certainly open to supporting this, here is what I'd expect/suggest:

  • create/find/procure a list of the font-awesome pro-icon-names to unicode from the font-awesome website or similar; https://github.com/FortAwesome/Font-Awesome/tree/master/metadata might be helpful. Ideally store the pro-cons in a separate file to the free ones.
  • add a flag to the script to toggle using the pro icons
  • update the README with instructions for installing the package with the pro icons and a way to check if the pro-version is installed
  • a warning message if a pro icon-name is used in the config but the pro-flag is not enabled

@sersorrel
Copy link
Contributor Author

Ok, I'll have a go at this.

@cboddy: How did you originally generate fa_icons.py? There's a JSON file describing all the icons (free and pro) at https://github.com/FortAwesome/Font-Awesome-Pro/blob/master/metadata/icons.json (only accessible with a licence), so assuming you used the free equivalent of that file to generate the list, then it should be possible for me to generate a list of free+pro icons in exactly the same way.

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

No branches or pull requests

3 participants