Jonathan Dearborn
Jonathan Dearborn
Thanks for this. It sure sounds like a bug. The alias should increment the image refcount and that is supposed to protect the target until all aliases and the original...
Yep, thanks for the catch!
That's weird. I'm fine merging that in, though I'm not certain what the consequences of this behavior are generally.
There are two ways to tell SDL_FontCache which glyphs to cache. If you have render target support, the glyphs will be cached the first time you use a string with...
Yes, the drawing functions all autocache new glyphs. I think the others which take strings, like the metrics (e.g. FC_GetWidth), also do it.
You're welcome! I haven't been running into any additional needs from the API in a while, so it might be nearly time for a real 1.0 release.
@TG-Galeforce Do you know a version which did work? I can bisect from there.
Those observations match my expectations, but I'm not sure about why other fonts might be misbehaving. I haven't messed around with outlines and matching them up with the normal font...
Vertical alignment would be nice. I think I had held off on implementing it because I hadn't fixed the font metrics (and still haven't). The vertical measurement of the font...
This looks like inadvertent color blending with transparent pixels. The best solution for this generally is premultiplied alpha. In this case here, you may be able to get the result...