• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Question - Code draw_text_ext distorted when aligning to center

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?