Fix typo [skip ci]

This commit is contained in:
一线灵 2022-06-13 15:44:25 +08:00 committed by GitHub
parent 6c63c55abb
commit d6bfe25f76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@ unsigned char* FontFreeType::getGlyphBitmap(char32_t charCode,
if (_fontFace == nullptr)
break;
// @remark: glyphIndex=0 means charactor is mssing on current font face
// @remark: glyphIndex=0 means character is missing on current font face
auto glyphIndex = FT_Get_Char_Index(_fontFace, static_cast<FT_ULong>(charCode));
#if defined(COCOS2D_DEBUG) && COCOS2D_DEBUG > 0
if (glyphIndex == 0)