Lines Matching refs:fontID
80 static SkStream* openStreamLocked(uint32_t fontID);
81 static size_t getFileNameLocked(SkFontID fontID, char path[], size_t length, int32_t* index);
623 static int getSystemFontIndexForFontID(SkFontID fontID) {
625 SkASSERT(fontID - 1 < gSystemFonts.count());
626 return fontID - 1;
646 SkFontID fontID = defaultList->fList[fontIdx].fFontID;
647 int sysFontIdx = getSystemFontIndexForFontID(fontID);
779 SkDEBUGF(("---- SkTypeface[%d] %s fontID %d\n",
815 static int findFallbackFontIndex(SkFontID fontId, FallbackFontList* currentFallbackList) {
817 if (currentFallbackList->fList[i].fFontID == fontId) {
960 SkStream* SkFontHost::OpenStream(uint32_t fontID) {
962 return openStreamLocked(fontID);
965 static SkStream* openStreamLocked(uint32_t fontID) {
966 FamilyTypeface* tf = (FamilyTypeface*)findFromUniqueIDLocked(fontID);
976 size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length,
979 return getFileNameLocked(fontID, path, length, index);
982 static size_t getFileNameLocked(SkFontID fontID, char path[], size_t length, int32_t* index) {
983 FamilyTypeface* tf = (FamilyTypeface*)findFromUniqueIDLocked(fontID);
1022 /* First see if fontID is already one of our fallbacks. If so, return
1023 its successor. If fontID is not in our list, then return the first one
1111 SkFontID fontID = 0;
1222 // retrieve the typeface that corresponds to this fontID