Thylacine Studios
Member
Sometimes, text will be drawn distorted when draw_set_halign(fa_center) is used to draw text.
Note the following example. The top of the text is aligned to the center, while the bottom text is aligned to the left. Both are using the exact same font, yet the top has some parts of it cut off (particularly "e" and "s").
However, sometimes there's no distortion at all.
I have made sure that everything is rounded, including the coordinates, separation, and width. I've tried enabling/disabling interpolation and anti-aliasing in the fonts and the problem still persists. Any ideas?
Note the following example. The top of the text is aligned to the center, while the bottom text is aligned to the left. Both are using the exact same font, yet the top has some parts of it cut off (particularly "e" and "s").

However, sometimes there's no distortion at all.

I have made sure that everything is rounded, including the coordinates, separation, and width. I've tried enabling/disabling interpolation and anti-aliasing in the fonts and the problem still persists. Any ideas?