AustinJ235/basalt

incorrect vertical alignement of glyphs

nxfs opened this issue · 2 comments

nxfs commented

I've noted that the vertical glyphs seem not correctly aligned, this is especially visible in small fonts sizes.
Running from the vanilla example with increased scale:

image

The code around text scaling isn't exactly ideal. Ilmenite currently has no concept of scale, so right now Bin calls for text of text_height * scale and then does some math (possibly incorrect) to fit it back down to 100% scale.

Change the math around this will be resolved when ilmenite is upgraded.