mirror of https://github.com/axmolengine/axmol.git
Merge pull request #15048 from aardvarkk/binaryfontfix
Bitmap font sizes are not loaded from binary .fnt files.
This commit is contained in:
commit
ca7fa1ecd2
|
@ -397,6 +397,7 @@ std::set<unsigned int>* BMFontConfiguration::parseBinaryConfigFile(unsigned char
|
|||
fontName n+1 string 14 null terminated string with length n
|
||||
*/
|
||||
|
||||
memcpy(&_fontSize, pData, 2);
|
||||
_padding.top = (unsigned char)pData[7];
|
||||
_padding.right = (unsigned char)pData[8];
|
||||
_padding.bottom = (unsigned char)pData[9];
|
||||
|
|
Loading…
Reference in New Issue