Home
last modified time | relevance | path

Searched refs:ttfName (Results 1 - 12 of 12) sorted by relevance

/foundation/arkui/ui_lite/frameworks/font/
H A Dui_multi_font_manager.cpp42 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 Dui_font_vector.cpp93 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 Dui_font_bitmap.cpp113 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 Dgraphic_startup.cpp48 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 Dtext.cpp190 uint16_t fontId = font->GetFontId(fontParam->ttfName); in SetFontId()
/foundation/arkui/ui_lite/interfaces/kits/font/
H A Dui_font.h165 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 Dbase_font.h51 * @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 Dui_font_header.h385 const char* ttfName; member
413 const char* ttfName; member
/foundation/arkui/ui_lite/interfaces/innerkits/common/
H A Dgraphic_startup.h28 static void InitFontEngine(uintptr_t cacheMemAddr, uint32_t cacheMemLen, const char* dPath, const char* ttfName);
/foundation/arkui/ui_lite/interfaces/innerkits/font/
H A Dui_font_vector.h37 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 Dui_font_bitmap.h36 uint16_t GetFontId(const char* ttfName, uint8_t fontSize = 0) const override;
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/text/
H A Dtypeface_test.cpp55 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()

Completed in 9 milliseconds