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

Can QtAwesome read Python fotnAwesome icons? #46

Open
Dariusz1989 opened this issue Jan 11, 2023 · 6 comments
Open

Can QtAwesome read Python fotnAwesome icons? #46

Dariusz1989 opened this issue Jan 11, 2023 · 6 comments
Assignees

Comments

@Dariusz1989
Copy link

Hey

So there seem to be 2 variants of "awesome" fonts out there.. .c++ and python... python seems to have a wee more of them > https://github.com/spyder-ide/qtawesome/tree/master/qtawesome/fonts

Will this reader be able to read them too ?

Also, PRO version on website states like 19k icons... are they all downloadable/usable here? I'm faily new/rough to the entire fontAwesome world... Used it lightly lately.

Thanks!

@gamecreature
Copy link
Owner

I agree this would be very nice. I will check this out.
It should be possible to only include the icons you would like to use.

@gamecreature
Copy link
Owner

gamecreature commented Jan 12, 2023

@Dariusz1989 You should copy the pro-font icons to the QtAwesome/fonts/pro directory. Those aren't included because these are licensed. This project includes the free version of the font files.

@Dariusz1989
Copy link
Author

From the qtAwesome website? Yeh I think so, I'm just confused if the downloads actually download all 19k icons? In the otf format?

As to python lib, I wonder if we can somehow use the materialdesignicons5, remixicon, elusiveicons, codicon, etc too even tho they are ttf and not otf format? I'm guessing as they are in that repo they are "free" to use... so can This c++ lib read these formats, provide them too ?

@gamecreature
Copy link
Owner

Currently this library is FontAwesome based. It doesn't have direct support for other fonts. (Though it's on the Wishlist to build this in)

The library has two modes a free mode and a pro mode. The free mode can be used directly, all FontAwesome free icons are included
README.md

The pro-mode requires the FontAwesome pro files, which requires a license you can acquire at fontAwesome.com. You get a download with the pro-fonts there.

QtAwesome is an opensource library and doesn't supply any of the pro files directly, though it supports the usage of the pro font files.

@Dariusz1989
Copy link
Author

Hmm so we cant read other fonts with it then ?

@gamecreature
Copy link
Owner

At moment no you can't directly. Though you can adjust some code, and generate the icon-maps for the specific font.

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

No branches or pull requests

2 participants