Home
last modified time | relevance | path

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

/foundation/arkui/ui_lite/frameworks/font/
H A Dui_font_vector.cpp404 uint32_t ttfOffset; in GetTtfInfoFromTtc() local
405 if (FT_READ_ULONG(ttfOffset)) { in GetTtfInfoFromTtc()
410 if (ttcLength < ttfOffset) { in GetTtfInfoFromTtc()
414 ttfLength = ttcLength - ttfOffset; in GetTtfInfoFromTtc()
420 ttfLength = nextTtfOffset - ttfOffset; in GetTtfInfoFromTtc()
425 if (FT_STREAM_SEEK(ttfOffset) || FT_STREAM_READ(ttfBuffer, ttfLength)) { in GetTtfInfoFromTtc()
432 if (FT_STREAM_SEEK(ttfOffset + 4) || FT_READ_USHORT(numTables)) { // 4: sfntVersion length in GetTtfInfoFromTtc()
436 // change the offset of the ttf tableRecord compare with ttfOffset from ttc header in GetTtfInfoFromTtc()
439 p[0] = FT_PEEK_ULONG(p) - ttfOffset; in GetTtfInfoFromTtc()

Completed in 2 milliseconds