Is there someone who have infos, how font rendering is working ?
I have tried to replace letters same place as in a working font layout (512x512), but when i use the new font in game, lettre spacing looks like monospace.
512x512 file is making letter boxes of 32x32 all my letters are within this gride .
For exemple I have much more space between 2 i than in originale font.png, i have used as background to create the new font. I have just replaced part of the standard alphabet in original font.png.
So something in render the new lettre must change whole letter spacing. But what ?
Is there a lettre from wich lettre spacing is calculated ? Or something else ?
I have tried mcfont (minefont) to generated a font.png there things seams working.
But the tool just generate the english letters, and not the full ansi letter set for europeen text .
And when i copy the generated part to replace lettre in original font , i have again same problem with spacing.
"I'm an outsider by choice, but not truly.
It’s the unpleasantness of the system that keeps me out.
I’d rather be in, in a good system. That’s where my discontent comes from:
being forced to choose to stay outside.
My advice: Just keep movin’ straight ahead.
Every now and then you find yourself in a different place."
-George Carlin
I have tried to replace letters same place as in a working font layout (512x512), but when i use the new font in game, lettre spacing looks like monospace.
512x512 file is making letter boxes of 32x32 all my letters are within this gride .
For exemple I have much more space between 2 i than in originale font.png, i have used as background to create the new font. I have just replaced part of the standard alphabet in original font.png.
So something in render the new lettre must change whole letter spacing. But what ?
Is there a lettre from wich lettre spacing is calculated ? Or something else ?
I have tried mcfont (minefont) to generated a font.png there things seams working.
But the tool just generate the english letters, and not the full ansi letter set for europeen text .
And when i copy the generated part to replace lettre in original font , i have again same problem with spacing.
"I'm an outsider by choice, but not truly.
It’s the unpleasantness of the system that keeps me out.
I’d rather be in, in a good system. That’s where my discontent comes from:
being forced to choose to stay outside.
My advice: Just keep movin’ straight ahead.
Every now and then you find yourself in a different place."
-George Carlin