Closed WarnDa closed 2 years ago
I sincerely have no idea, I too work with font images and I've never had this kind of issues.
Try to add some transparent pixels on the top right and top left of the image. This could potentially bypass a known Minecraft feature which basically cuts the transparent part of the image. Adding two pixels on left and right will bypass this behaviour.
Add pixels here:
Anyway ItemsAdder already has this behaviour implemented, but maybe you are configuring font images manually and that's why ItemsAdder is not adding these pixels.
Thanks for your reply !
I even tried to put real pixels on each side :
Left : with optifine Right : Without optifine
We can try to create an issue on discord so I can share my whole folder and you can maybe try yourself :c
If I change the order of the fonts, it works. Here it's the same pictures, just I changed the title before : ':offset-48::ligne45::offset-187::moyen::offset-146::menu:' after : ':offset-146::menu::offset-187::moyen::offset-48::ligne45:'
and here we see now it's fine, so why it's not in the other side ? :c
Always make sure to configure your resourcepacks with vanilla client. Seems optifine is somehow changing the rendering order of the font images.
Let me know if your latest configuration works fine with OF and without it.
Have a nice week
Hello, I found the issue ! On every picture I have to manually add pixels on each side, or it doesn't scall well in game. ItemsAdder should do it itself but not working great :/
But, how can I add invisible pixel ? I can't, so I tried black ones, but we show them in game :/
Hello, I found the issue ! On every picture I have to manually add pixels on each side, or it doesn't scall well in game. ItemsAdder should do it itself but not working great :/
But, how can I add invisible pixel ? I can't, so I tried black ones, but we show them in game :/
If anyone have an idea please :)
I suspect that your textures have an alpha value not equal to 0 as background color. ItemsAdder will change the alpha value to 5 ONLY if the alpha value is 0, to avoid messing up with images. I guess I have to check if it's < 5, not if it's equal to 0.
I'll publish an update, please try to regenerate your resourcepack and check if it works after that fix.
Still not working for me : https://discord.com/channels/533407895010803753/1000071676849033236/1011326313069551786
Terms
Discord tag (optional)
WarnD#0001
What happened?
I'm creating guis in three parts :
The whole 256x256 font work perfectly, but my sign/title (that are not 256x256) are not centered without optifine, but work perfectly with optifine
Without optifine : With optifine :
So I asked on discord and someone told me :
But I don't really understand, I tried myself setting the "sign" and the "title" on a 256x256 font and tried in game : left : without optifine right : with optifine It's still getting issue, I don't understand why, should be good my title using deluxemenus :
So, what I am doing wrong, is there any easier solution ? As I don't really understand I have 90~100 bugged .png, so hope there is a fix.. :)
Steps to reproduce the issue
Server version
Pufferfish 1.19.2-32
ItemsAdder Version
3.2.3f
ProtocolLib Version
b597
LoneLibs Version
1.0.19
LightAPI Version (optional)
No response
LibsDisguises Version (optional)
No response
FULL server log
No response
Error (optional)
ItemsAdder config.yml
Problematic items yml configuration file (optional)
Other files, you can drag and drop them here to upload. (optional)
No response
Screenshots/Videos (you can drag and drop files or paste links)
No response