I've created my own custom font, but I'm having trouble setting the spacing for each character.
This is my current situation:
Checking the various sprite font properties in the manual, I found the "Spacing data" property that I thought was right up my alley.
So I set the "Spacing data" field of my project by inserting a JSON that would indicate the width values of each character.
Below I leave you the JSON that I wrote (upper and lower case letters are represented by the same character and therefore have the same width):
The problem is that as you can see from the first image I posted, the whole thing doesn't seem to work properly. The problem is most visible with the letter "i".
I double-checked the pixel width of each letter I entered in the JSON, and I'm 100% sure I entered them correctly.
The sprite I used for the font has cells of size 52x66 (as indicated in the font sprite properties), and all the letters are centered within their own cell. Also, the "Character set" property is set with the correct sequence of characters.
Can anyone tell me where I'm going wrong?