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

Problem with ICON_FA_GAS_PUMP ICON #45

Open
0x73616D opened this issue Aug 18, 2024 · 2 comments
Open

Problem with ICON_FA_GAS_PUMP ICON #45

0x73616D opened this issue Aug 18, 2024 · 2 comments
Assignees

Comments

@0x73616D
Copy link

Hi, I'm trying to use Font Awesome 6 but I'm having a problem with a single icon.
For some reason when using ICON_FA_GAS_PUMP I get a ?
ImGui::PushFont(icons_fonts); DL->AddText(icon_posGas, 0xFFFFFFFF, ICON_FA_GAS_PUMP); ImGui::PopFont();

@0x73616D
Copy link
Author

It is well defined:
#define ICON_FA_GAS_PUMP "\xef\x94\xaf" // U+f52f
The other icons work.

@juliettef
Copy link
Owner

I cannot reproduce the issue. This icon displays as expected using, for example, ImGui::Text( "gas-pump icon: " ICON_FA_GAS_PUMP );. I'm using FA5 Pro but the gas-pump is also part of the FA5 Free and FA6 Free sets. Make sure you have the correct ttf file.

@juliettef juliettef self-assigned this Aug 18, 2024
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

2 participants