Lines Matching defs:font
19 #include "font/ui_font.h"
20 #include "font/ui_font_adaptor.h"
21 #include "font/ui_font_builder.h"
125 UIFont* font = UIFont::GetInstance();
126 if (font->IsVectorFont()) {
127 uint16_t fontId = font->GetFontId(name);
135 uint16_t fontId = font->GetFontId(name, size);
179 UIFont* font = UIFont::GetInstance();
180 if ((fontId_ == fontId) && (fontSize_ != 0) && !font->IsVectorFont()) {
181 GRAPHIC_LOGD("Text::SetFontId same font has already set");
189 if (font->IsVectorFont()) {
190 uint16_t fontId = font->GetFontId(fontParam->ttfName);
278 UIFont* font = UIFont::GetInstance();
279 uint16_t fontHeight = font->GetHeight(fontId_, fontSize_);
281 font->GetLineMaxHeight(text_, textLine_[0].lineBytes, fontId_, fontSize_, 0, spannableString_);
296 curLineHeight = font->GetLineMaxHeight(