Home
last modified time | relevance | path

Searched refs:ttfBuffer (Results 1 - 4 of 4) sorted by relevance

/foundation/arkui/ui_lite/interfaces/innerkits/font/
H A Dui_font_vector.h58 bool GetTtfInfo(uint8_t ttfId, uint8_t* ttfBuffer, uint32_t ttfBufferSize, TtfHeader& ttfHeader) override;
100 bool GetTtfInfoFromTtf(uint8_t* ttfBuffer,
104 bool GetTtfInfoFromTtc(uint8_t* ttfBuffer,
/foundation/arkui/ui_lite/frameworks/font/
H A Dui_font_vector.cpp289 bool UIFontVector::GetTtfInfo(uint8_t ttfId, uint8_t* ttfBuffer, uint32_t ttfBufferSize, TtfHeader& ttfHeader) in GetTtfInfo() argument
291 if ((ttfBuffer == nullptr) || (ttfBufferSize == 0)) { in GetTtfInfo()
300 return GetTtfInfoFromTtc(ttfBuffer, ttfBufferSize, ttfHeader, fontInfo_[i]); in GetTtfInfo()
302 return GetTtfInfoFromTtf(ttfBuffer, ttfBufferSize, ttfHeader, fontInfo_[i]); in GetTtfInfo()
309 bool UIFontVector::GetTtfInfoFromTtf(uint8_t* ttfBuffer, in GetTtfInfoFromTtf() argument
314 if ((ttfBuffer == nullptr) || (ttfBufferSize == 0)) { in GetTtfInfoFromTtf()
343 ret = read(fpTtf, reinterpret_cast<void*>(ttfBuffer), ttfHeader.len); in GetTtfInfoFromTtf()
358 bool UIFontVector::GetTtfInfoFromTtc(uint8_t* ttfBuffer, in GetTtfInfoFromTtc() argument
363 if ((ttfBuffer == nullptr) || (ttfBufferSize == 0) || (fontInfo.ttcIndex >= FONT_TTC_MAX)) { in GetTtfInfoFromTtc()
425 if (FT_STREAM_SEEK(ttfOffset) || FT_STREAM_READ(ttfBuffer, ttfLengt in GetTtfInfoFromTtc()
[all...]
/foundation/arkui/ui_lite/interfaces/kits/font/
H A Dui_font.h148 bool GetTtfInfo(uint8_t ttfId, uint8_t* ttfBuffer, uint32_t bufferSize, TtfHeader& ttfHeader) in GetTtfInfo() argument
150 return instance_->GetTtfInfo(ttfId, ttfBuffer, bufferSize, ttfHeader); in GetTtfInfo()
H A Dbase_font.h70 virtual bool GetTtfInfo(uint8_t ttfId, uint8_t* ttfBuffer, uint32_t bufferSize, TtfHeader& TtfHeader) in GetTtfInfo() argument

Completed in 5 milliseconds