提交 7e8209f6 编写于 作者: W wangtiantian

IssueNo:https://gitee.com/openharmony/graphic_ui/issues/I4HW9T

Description:fix bug
Sig:graphic
Feature or Bugfix:Bugfix
Binary Source:No
Signed-off-by: Nwangtiantian <wangtiantian19@huawei.com>
上级 e3846aeb
......@@ -135,8 +135,7 @@ GlyphNode* GlyphsManager::GetNodeFromFile(uint32_t unicode, uint8_t fontId)
uint8_t* tmpIndexCache = curIndexCache_;
uint32_t tmpGlyphNodeSectionStart = curGlyphNodeSectionStart_;
while (fontId_ != fontId) {
SetCurrentFontId(fontId);
if (!isFontIdSet_) {
if (SetCurrentFontId(fontId) == INVALID_RET_VALUE) {
return nullptr;
}
tmpIndexCache = curIndexCache_;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册