[ft] Cache sizes

2015-02-10 Thread Daniel Wressle
Salutations, I was summoned to try to debug some really erratic and seemingly random issues we had with our font rendering. After many Red Bulls and debug output added to both our code and the FreeType c-code I managed to figure out why most of them was occuring, but I do not understand why.

Re: [ft] Cache sizes

2015-02-10 Thread Werner LEMBERG
Hello Daniel! In short, as soon as we have more faces or sizes than the cache will allow, default being 2/2 as you already know, then strange things happens. First of all we receive face object where the size pointer is NULL. This causes our GetKerning routine to fail, since there is no