Hi Mark,
Very nice. In combination with my FontPeer-leak-workaround this seems to be pretty solid. In what cases are you now still seeing leaks?
The two open bugs - PR 31539 (ProgressBar) and 28186 (drawString) - were still leaking pretty badly after my patch. Your FontPeer cache fixes 31539 very nicely, but 28186 is still leaking (maybe it's a jamvm bug, since cacao doesn't leak with the same testcase).
The static freetype map patch I just committed is a more "proper" fix for ProgressBar, but without the FontPeer cache it still leaks - just slower. This might be a problem inside Pango itself.
Cheers, Francis
