Lines Matching defs:fontId
70 int8_t GlyphsFile::GetNodeFromFile(uint32_t unicode, uint16_t fontId, GlyphNode& node)
75 int8_t result = GetGlyphInfo(fontId, glyphInfo);
152 GRAPHIC_LOGE("GlyphsFile::SetFile data error, fontNum need less than max fontId");
204 int8_t GlyphsFile::GetGlyphInfo(uint16_t fontId, GlyphInfo& glyphInfo)
208 if (fontId > fontBuilder->GetBitmapFontIdMax()) {
209 GRAPHIC_LOGE("GlyphsFile::GetGlyphInfo fontId need less than max fontId");
223 if (fontHeaderCache_[mid].fontId == fontId) {
227 } else if (fontHeaderCache_[mid].fontId > fontId) {
229 } else if (fontHeaderCache_[mid].fontId < fontId) {
235 glyphInfo.fontId = fontBuilder->GetBitmapFontIdMax();
240 glyphInfo.fontId = fontId;
275 const FontHeader* GlyphsFile::GetFontHeader(uint16_t fontId)
278 int8_t ret = GetGlyphInfo(fontId, glyphInfo);
286 int16_t GlyphsFile::GetFontHeight(uint16_t fontId)
289 int8_t ret = GetGlyphInfo(fontId, glyphInfo);
305 int8_t result = GetGlyphInfo(node.fontId, glyphInfo);
326 node.dataFlag = node.fontId;