Home
last modified time | relevance | path

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

/foundation/arkui/ui_lite/frameworks/font/
H A Dui_font_vector.cpp155 int32_t ttfIdx = 0; in RegisterTtcFontInfo() local
171 while ((ttfIdx < FONT_ID_MAX) && fontInfo_[ttfIdx].ttfName != nullptr) { in RegisterTtcFontInfo()
172 ttfIdx++; in RegisterTtcFontInfo()
175 if (ttfIdx >= FONT_ID_MAX) { in RegisterTtcFontInfo()
178 error = FT_Open_Face(ftLibrary_, &args, j, &ftFaces_[ttfIdx]); in RegisterTtcFontInfo()
182 fontInfo_[ttfIdx].ttfName = ttfInfo[j].ttfName; in RegisterTtcFontInfo()
183 fontInfo_[ttfIdx].shaping = ttfInfo[j].shaping; in RegisterTtcFontInfo()
184 fontInfo_[ttfIdx].ttfId = ttfIdx; in RegisterTtcFontInfo()
[all...]

Completed in 1 milliseconds