Toxicom / toxiui

ToxiUI is a plugin for ElvUI in World of Warcraft
Other
24 stars 14 forks source link

Class Icon/Symbol apperaing as a block on splash screen #95

Closed J0my closed 4 months ago

J0my commented 4 months ago

Description

When I press escape and it shows the ToxiUI splash screen, where the char name and icon/symbol and class is shown, the icon/symbol is a square like a font error. Also in the fonts changer the font for ToxiUIIcons shows up again as the font squares. In the attached screenshots you can see where the icon/symbol is displaying correctly in the armory and on the Wunderbar.

ToxiUI Status Report

Screenshot 2024-06-12 094334

Screenshots

Screenshot 2024-06-12 093909 Screenshot 2024-06-12 093950

Toxicom commented 4 months ago

The ToxiUIIcons font is irrelevant here, because in the Game Menu we're using the primary - ToxiUI font. If you have it changed then it makes sense that it's showing a square.

Can you try re-installing the addon completely fresh and let me know if the issue persists? Your profile settings will not disappear if you delete the addon.

J0my commented 4 months ago

Hello thanks for the reply, I have not changed the fonts they are all the defaults. I have tried reinstalling the addon and the issue has still persisted

Toxicom commented 4 months ago

@J0my Can you go to your WoW installation, then _retail_/Interface/AddOns/ElvUI_ToxiUI/Media/Fonts/ and attach the ToxiUI.ttf here?

To make sure you're going to the right place, follow these instructions: https://github.com/tukui-org/ElvUI/wiki/install#open-your-battlenet-app-and-select-world-of-warcraft---then-click-on-the-options-dropdown-cogwheel-icon

J0my commented 4 months ago

ToxiUI.zip

Here is the font you requested, I had to put it in a .zip as it would not upload the font file format

Toxicom commented 4 months ago

I've opened the font you sent and I do see the spec icons. image

The 59649 unicode also matches what's defined in code: https://github.com/Toxicom/toxiui/blob/development/Core/Profile.lua#L943

I'm very confused on why it's not working 😕

One more option I can think of is separating the spec icon from the rest of the level text and specifying the icons font for it, but that will mean I can't have it inline with the rest of the text 🤔

Toxicom commented 4 months ago

@J0my Do you mind doing some additional troubleshooting? I am releasing a v6.6.8-beta.1 build with additional code and debugging added.

Can you please install these 3 AddOns:

And then also update to https://github.com/Toxicom/toxiui/releases/tag/v6.6.8-beta.1

Once you have all that in place, make sure to first /reload in game, then follow these steps:

  1. Open the Game Menu
  2. See if the issue still persists
  3. Close the Game Menu
  4. Type /dev in chat
  5. A new window should show up with various data logged there
  6. Send a screenshot of that /dev window here

Throughout all of these steps see if you're getting any errors (fatality sound) in your BugSack. This will hopefully provide me more information and help narrow down the cause.

J0my commented 4 months ago

Hello, thanks again for the replies, I have installed the 3 mods as well as the toxi beta. I followed the instructions and the issue still persists. Below is the image you requested of the /dev command. There seems to be no bugs that have occurred during all of this. I am happy to keep trying anything you need to try help solve the issue.

image

Toxicom commented 4 months ago

I assume if you click on this iconsDb: image

All of the entries there are also empty squares? If so, it's definitely a font issue, which.. doesn't make sense 😆

J0my commented 4 months ago

image Yes they are all squares. It could just be my system it is happening on, I just dont have another pc to test it on to see lol.

J0my commented 4 months ago

I had installed the font itself on my computer and opened it up on character map and it shows them all there.

image

Toxicom commented 4 months ago

I had installed the font itself on my computer and opened it up on character map and it shows them all there.

image

But this is ToxiUIIcons font which we're not using for that specific place. Can you take a look at the ToxiUI font and see if those glyphs are there?

J0my commented 4 months ago

image They do appear to still be there on the main ToxiUI font

Toxicom commented 4 months ago

Alright.. let's try to do some code editing.. Can you open https://github.com/Toxicom/toxiui/blob/development/Core/Profile.lua this file on your local machine, then change

[251] = F.String.ConvertGlyph(59649), -- Death Knight Frost

to

[251] = "", -- dk frost

This way instead of converting the unicode to a glyph, we are using the glyph directly. Perhaps there's an issue with the way we handle unicode 🤔

After that, restart your game just to be safe and see if the issue is still there.

J0my commented 4 months ago

image image It is still there unfortunately, I edited the file you mentioned

Toxicom commented 4 months ago

I noticed your name has the incorrect font, too. For reference, this is what it should look like: image

Are you sure you didn't change any font files in the AddOn? Because that is the only logical explanation as for why the spec icon does not get recognized.

J0my commented 4 months ago

I created a fresh char and did a stock install of elvui+toxi and it works, I am pretty sure I know what was the cause of setting a diff font for the ui on other toons and importing those profiles onto it. Apologies for the inconvenience, you can close this issue. I am loving interface though!

image

Toxicom commented 4 months ago

It's still weird though, since that font is being set in the code without any option to change it, so it's very odd.. Regardless, good to know it's been solved.