View Single Post
Old February 1, 2019, 21:03   #69
Join Date: Apr 2007
Posts: 726
Bandobras is on a distinguished road
My ttf (that is WOFF) font doesn't lie about its size, I hope.

Anyway, I handle scalable fonts by always creating a black texture of the nominal size and pasting the texture I got from sdl2-ttf in the center, cutting off any portions that stick out. In this way I get no border and no stray pixels after wiping out previous glyphs.
Bandobras is offline   Reply With Quote