Alexei A Podtelezhnikov, PhD I also don’t get it. What’s the problem? FreeType always does it from outlines. It allocates the bitmap memory. It happens to be tight in most cases because there is usually on-points at the extreme. Otherwise it is a bit larger.
Well, the same goes for most SVG rendering libraries. They provide functions that can do this. The bounding box will be tight unless "clipping" has been used in which case it will be bigger. That's the problem.
So it sounds like the bitmap memory should be managed externally. What is wrong with that? |