/foundation/arkui/ui_lite/frameworks/font/ |
H A D | ui_multi_font_manager.cpp | 42 if (strstr(fontParam->ttfName, ARABIC_LANG) != nullptr) { in UIMultiFontManager() 44 } else if (strstr(fontParam->ttfName, THAI_LANG) != nullptr) { in UIMultiFontManager() 46 } else if (strstr(fontParam->ttfName, MYAN_LANG) != nullptr) { in UIMultiFontManager() 48 } else if (strstr(fontParam->ttfName, DVCARI_LANG) != nullptr) { in UIMultiFontManager() 50 } else if (strstr(fontParam->ttfName, HBREW_LANG) != nullptr) { in UIMultiFontManager() 52 } else if (strstr(fontParam->ttfName, BENGALI_LANG) != nullptr) { in UIMultiFontManager() 106 if (strstr(fonts.ttfName, ARABIC_LANG) != nullptr) { in UpdateScript() 108 } else if (strstr(fonts.ttfName, THAI_LANG) != nullptr) { in UpdateScript() 110 } else if (strstr(fonts.ttfName, MYAN_LANG) != nullptr) { in UpdateScript() 112 } else if (strstr(fonts.ttfName, DVCARI_LAN in UpdateScript() [all...] |
H A D | ui_font_vector.cpp | 93 uint8_t UIFontVector::RegisterFontInfo(const char* ttfName, uint8_t shaping) in RegisterFontInfo() argument 95 if ((ttfName == nullptr) || !freeTypeInited_) { in RegisterFontInfo() 101 if ((fontInfo_[j].ttfName != nullptr) && !strncmp(fontInfo_[j].ttfName, ttfName, TTF_NAME_LEN_MAX)) { in RegisterFontInfo() 103 } else if (fontInfo_[j].ttfName == nullptr) { in RegisterFontInfo() 105 ttfPath.append(ttfName); in RegisterFontInfo() 110 fontInfo_[j].ttfName = ttfName; in RegisterFontInfo() 137 uint8_t result = RegisterFontInfo(fontsTable[i].ttfName, fontsTabl in RegisterFontInfo() 240 UnregisterFontInfo(const char* ttfName) UnregisterFontInfo() argument 560 GetFontId(const char* ttfName, uint8_t fontSize) const GetFontId() argument [all...] |
H A D | ui_font_bitmap.cpp | 113 uint16_t UIFontBitmap::GetFontId(const char* ttfName, uint8_t size) const in GetFontId() argument 116 if (ttfName == nullptr) { in GetFontId() 123 if ((fontParam->size == size) && (strncmp(fontParam->ttfName, ttfName, TTF_NAME_LEN_MAX) == 0)) { in GetFontId()
|
/foundation/arkui/ui_lite/frameworks/common/ |
H A D | graphic_startup.cpp | 48 const char* ttfName) in InitFontEngine() 62 if (ttfName != nullptr) { in InitFontEngine() 63 uint8_t ret2 = uiFont->RegisterFontInfo(ttfName); in InitFontEngine() 45 InitFontEngine(uintptr_t cacheMemAddr, uint32_t cacheMemLen, const char* dPath, const char* ttfName) InitFontEngine() argument
|
H A D | text.cpp | 190 uint16_t fontId = font->GetFontId(fontParam->ttfName); in SetFontId()
|
/foundation/arkui/ui_lite/interfaces/kits/font/ |
H A D | ui_font.h | 165 uint8_t RegisterFontInfo(const char* ttfName, uint8_t shaping = 0) in RegisterFontInfo() argument 167 return instance_->RegisterFontInfo(ttfName, shaping); in RegisterFontInfo() 185 uint8_t UnregisterFontInfo(const char* ttfName) in UnregisterFontInfo() argument 187 return instance_->UnregisterFontInfo(ttfName); in UnregisterFontInfo()
|
H A D | base_font.h | 51 * @param ttfName 55 virtual uint16_t GetFontId(const char* ttfName, uint8_t fontSize) const = 0; 170 virtual uint8_t RegisterFontInfo(const char* ttfName, uint8_t shaping) in RegisterFontInfo() argument 190 virtual uint8_t UnregisterFontInfo(const char* ttfName) in UnregisterFontInfo() argument
|
H A D | ui_font_header.h | 385 const char* ttfName; member 413 const char* ttfName; member
|
/foundation/arkui/ui_lite/interfaces/innerkits/common/ |
H A D | graphic_startup.h | 28 static void InitFontEngine(uintptr_t cacheMemAddr, uint32_t cacheMemLen, const char* dPath, const char* ttfName);
|
/foundation/arkui/ui_lite/interfaces/innerkits/font/ |
H A D | ui_font_vector.h | 37 uint16_t GetFontId(const char* ttfName, uint8_t fontSize = 0) const override; 45 uint8_t RegisterFontInfo(const char* ttfName, uint8_t shaping = 0) override; 47 uint8_t UnregisterFontInfo(const char* ttfName) override;
|
H A D | ui_font_bitmap.h | 36 uint16_t GetFontId(const char* ttfName, uint8_t fontSize = 0) const override;
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/text/ |
H A D | typeface_test.cpp | 55 std::string ttfName = { 0x2F, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6D, 0x2F, 0x66, 0x6F, 0x6E, 0x74, 0x73, 0x2F, 0x48, in SetUpTestCase() local 57 std::ifstream ttfFile(ttfName, std::ios::in | std::ios::binary); in SetUpTestCase()
|