mirror of https://github.com/axmolengine/axmol.git
Remove TTF Font charCode 65535 limit
This commit is contained in:
parent
53ec946592
commit
1e633a015d
|
@ -737,14 +737,7 @@ FontAtlas* FontFNT::newFontAtlas()
|
|||
tempDefinition.rotated = _imageRotated;
|
||||
|
||||
// add the new definition
|
||||
if (65535 < fontDef.charID)
|
||||
{
|
||||
AXLOGW("Warning: 65535 < fontDef.charID ({}), ignored", fontDef.charID);
|
||||
}
|
||||
else
|
||||
{
|
||||
tempAtlas->addLetterDefinition(fontDef.charID, tempDefinition);
|
||||
}
|
||||
tempAtlas->addLetterDefinition(fontDef.charID, tempDefinition);
|
||||
}
|
||||
|
||||
// add the texture (only one texture for now)
|
||||
|
|
Loading…
Reference in New Issue