I think I got it this time ! GfxFontDict::~GfxFontDict calls decRefCnt on all fonts, but GfxFontDict::GfxFontDict does not call incRefCnt, so fonts get freed.
I think I got it this time ! :~GfxFontDict calls decRefCnt on all fonts, but :GfxFontDict does not call incRefCnt, so fonts get freed.
GfxFontDict:
GfxFontDict: