Home
last modified time | relevance | path

Searched refs:font_collection (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/drivers/video/
H A Dstb_truetype.h1002 STBTT_DEF int stbtt_GetFontOffsetForIndex(const unsigned char *font_collection, int index) in stbtt_GetFontOffsetForIndex() argument
1005 if (stbtt__isfont(font_collection)) in stbtt_GetFontOffsetForIndex()
1009 if (stbtt_tag(font_collection, "ttcf")) { in stbtt_GetFontOffsetForIndex()
1011 if (ttULONG(font_collection+4) == 0x00010000 || ttULONG(font_collection+4) == 0x00020000) { in stbtt_GetFontOffsetForIndex()
1012 stbtt_int32 n = ttLONG(font_collection+8); in stbtt_GetFontOffsetForIndex()
1015 return ttULONG(font_collection+12+index*4); in stbtt_GetFontOffsetForIndex()
3187 STBTT_DEF int stbtt_FindMatchingFont(const unsigned char *font_collection, const char *name_utf8, s… in stbtt_FindMatchingFont() argument
3191 stbtt_int32 off = stbtt_GetFontOffsetForIndex(font_collection, i); in stbtt_FindMatchingFont()
3193 if (stbtt__matches((stbtt_uint8 *) font_collection, off, (stbtt_uint8*) name_utf8, flags)) in stbtt_FindMatchingFont()