/foundation/arkui/ui_lite/frameworks/font/ |
H A D | ui_font_bitmap.cpp | 136 uint8_t* UIFontBitmap::GetBitmap(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize) in GetBitmap() argument 138 return SearchInFont(unicode, glyphNode, fontId); in GetBitmap() 157 int8_t UIFontBitmap::GetMultiGlyphNode(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId) in GetMultiGlyphNode() argument 159 int8_t ret = GetGlyphNode(unicode, glyphNode, fontId); in GetMultiGlyphNode() 171 ret = GetGlyphNode(unicode, glyphNode, searchLists[currentIndex]); in GetMultiGlyphNode() 182 int8_t UIFontBitmap::GetGlyphNode(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize) in GetGlyphNode() argument 186 glyphNode = *node; in GetGlyphNode() 189 GRAPHIC_LOGE("UIFontBitmap::GetGlyphNode get glyphNode failed"); in GetGlyphNode() 193 int8_t UIFontBitmap::GetGlyphNodeFromFile(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId) in GetGlyphNodeFromFile() argument 197 glyphNode in GetGlyphNodeFromFile() 251 SearchInFont(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId) SearchInFont() argument 313 GlyphNode glyphNode; GetOffsetPosY() local [all...] |
H A D | ui_font_vector.cpp | 638 int8_t UIFontVector::GetGlyphNode(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize) in GetGlyphNode() argument 645 glyphNode = cacheNode->node; in GetGlyphNode() 650 uint8_t* bitmap = fontCacheManager->GetBitmap(fontKey, unicode, glyphNode.textStyle); in GetGlyphNode() 656 glyphNode.left = f->left; in GetGlyphNode() 657 glyphNode.top = f->top; in GetGlyphNode() 658 glyphNode.cols = f->cols; in GetGlyphNode() 659 glyphNode.rows = f->rows; in GetGlyphNode() 660 glyphNode.advance = f->advance; in GetGlyphNode() 661 glyphNode.fontId = fontId; in GetGlyphNode() 676 int8_t error = LoadGlyphIntoFace(fontId, fontSize, unicode, glyphNode); in GetGlyphNode() 684 GetBitmap(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize) GetBitmap() argument 783 LoadGlyphIntoFace(uint16_t& fontId, uint8_t fontSize, uint32_t unicode, GlyphNode& glyphNode) LoadGlyphIntoFace() argument 899 GlyphNode glyphNode; SetFace() local 961 GlyphNode glyphNode; GetOffsetPosY() local [all...] |
H A D | ui_font.cpp | 174 uint8_t* UIFont::GetBitmap(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize, in GetBitmap() argument 181 bitmap = instance_->GetBitmap(unicode, glyphNode, shapingFont, fontSize); in GetBitmap() 187 bitmap = instance_->GetBitmap(unicode, glyphNode, fontId, fontSize); in GetBitmap() 199 bitmap = instance_->GetBitmap(unicode, glyphNode, searchLists[currentIndex], fontSize); in GetBitmap() 210 int8_t UIFont::GetGlyphNode(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize) in GetGlyphNode() argument 212 int8_t result = instance_->GetGlyphNode(unicode, glyphNode, fontId, fontSize); in GetGlyphNode() 225 result = instance_->GetGlyphNode(unicode, glyphNode, searchLists[currentIndex], fontSize); in GetGlyphNode()
|
H A D | ui_font_allocator.cpp | 182 GlyphNode& glyphNode, in GetCacheBuffer() 186 BufferInfo bufInfo{Rect(), 0, nullptr, nullptr, glyphNode.cols, glyphNode.rows, mode, 0}; in GetCacheBuffer() 179 GetCacheBuffer(uint16_t fontId, uint32_t unicode, ColorMode mode, GlyphNode& glyphNode, bool hasMetric, TextStyle textStyle) GetCacheBuffer() argument
|
H A D | ui_font_allocator.h | 57 GlyphNode& glyphNode,
|
/foundation/arkui/ui_lite/interfaces/innerkits/font/ |
H A D | ui_font_bitmap.h | 38 uint8_t* GetBitmap(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize = 0) override; 40 int8_t GetGlyphNode(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize = 0) override; 41 int8_t GetGlyphNodeFromFile(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId); 62 uint8_t* SearchInFont(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId); 65 int8_t GetMultiGlyphNode(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId);
|
H A D | ui_font_vector.h | 39 uint8_t* GetBitmap(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize) override; 41 int8_t GetGlyphNode(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize) override; 88 int8_t LoadGlyphIntoFace(uint16_t& fontId, uint8_t fontSize, uint32_t unicode, GlyphNode& glyphNode);
|
/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_label.cpp | 42 GlyphNode glyphNode; in DrawTextOneLine() local 93 glyphNode.textStyle = letterInfo.textStyle; in DrawTextOneLine() 95 glyphNode.advance = 0; in DrawTextOneLine() 96 uint8_t* fontMap = fontEngine->GetBitmap(letterInfo.letter, glyphNode, letterInfo.fontId, letterInfo.fontSize, in DrawTextOneLine() 99 uint8_t weight = fontEngine->GetFontWeight(glyphNode.fontId); in DrawTextOneLine() 103 glyphNode, labelLine.lineHeight); in DrawTextOneLine() 107 DrawUtils::GetInstance()->DrawNormalLetter(gfxDstBuffer, letterInfo, fontMap, glyphNode, maxLetterSize); in DrawTextOneLine() 111 labelLine.pos.x -= (glyphNode.advance + labelLine.style.letterSpace_); in DrawTextOneLine() 113 labelLine.pos.x += (glyphNode.advance + labelLine.style.letterSpace_); in DrawTextOneLine()
|
/foundation/arkui/ui_lite/interfaces/kits/font/ |
H A D | base_font.h | 81 virtual uint8_t* GetBitmap(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize) = 0; 95 * @param glyphNode 99 virtual int8_t GetGlyphNode(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize) = 0;
|
H A D | ui_font.h | 114 uint8_t* GetBitmap(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize, uint8_t shapingFont); 116 int8_t GetGlyphNode(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize);
|
/foundation/arkui/ui_lite/frameworks/common/ |
H A D | typed_text.cpp | 556 GlyphNode glyphNode; in IsColourWord() local 557 int8_t ret = font->GetGlyphNode(codePoint, glyphNode, fontId, fontSize); in IsColourWord() 559 GRAPHIC_LOGE("Failed to get glyphNode for color word"); in IsColourWord() 563 weight = font->GetFontWeight(glyphNode.fontId); in IsColourWord()
|