2

Custom Font isn't working correctly

Legi2 2/1/21 1:25 pm history
250
2/2/2021 5:36 am
I made a resourcepack that only has a redesigned ascii.png file.

It seems to be working correctly, except or the number 4 and only the number 4, which is shifted to the left a bit:





Here's the file if anyone needs it: https://imgur.com/a/2NICv1r
Does anyone know why this is happening?
Posted by
Legi2
Level 1 : New Explorer
0

  Have something to say?

JoinSign in

2

Pixelgon
02/01/2021 1:47 pm
Level 50 : Grandmaster Procrastinator
Every character in Minecraft is stored in a grid in the ascii.png file. The grid size is normally 8x5. If your character is larger than 8x5 (or is a multiple of that, depending on the size of the image) then the texture will be spread to the other file, making the character wider than it should be.

Solution: make sure all your characters fit in the grid, or you can reduce the resolution of the file instead.


TL;DR: Your character is larger than it should be. Make sure that your character fits in the 8x5 (or if your file is 32x, 16x10) grid.
4
Legi2
02/02/2021 5:36 am
Level 1 : New Explorer
history
Sadly, that isn't correct (the charakter isn't too large). The ascii.png is 1280², so each charakter would have 80x50 pixels, and the 4 is 70x50. I've also checked the spaces between 3,4 & 5 and they are 30 pixels wide, which seems to be correct.

I've uploaded the file if you need it, https://imgur.com/a/2NICv1r



TL;DR: the character's size is correct
2

Welcome