Something I observed today: al_draw_text does not draw text where I expected it to. I wanted to draw text snug to the top left corner of the display, but the y axis is not touching the top as I thought it would.
See the attached file for a screenshot of what happened and then what I expected to happen (edited in GIMP).
Is this the result of extra space in the font itself? Thanks.
</stupidquestion>
You should use al_get_text_dimensions() if you need exact text placement. You just subtract the x and y values returned by al_get_text_dimensions() from your target coordinates.
Fantastic. Thanks, Todd.