mirror of https://github.com/axmolengine/axmol.git
89f08bb441
face->size->metrics->ascender seems to be unreliable for some fonts, additionally the freetype documentation says that it may be used differently for different fonts. Therefore it may happen that the ascender of a font face is less then the glyphs bounding box resulting in accessing invalid memory. The fix is to use the bbox attribute instead of the ascender |
||
---|---|---|
.. | ||
CCAccelerometer.h | ||
CCApplication.cpp | ||
CCApplication.h | ||
CCCommon.cpp | ||
CCDevice.cpp | ||
CCEGLView.cpp | ||
CCEGLView.h | ||
CCFileUtilsLinux.cpp | ||
CCFileUtilsLinux.h | ||
CCGL.h | ||
CCImage.cpp | ||
CCPlatformDefine.h | ||
CCStdC.cpp | ||
CCStdC.h |