Home | History | Annotate | Download | only in ports

Lines Matching refs:fontID

71 static SkStream* openStreamLocked(uint32_t fontID);
72 static size_t getFileNameLocked(SkFontID fontID, char path[], size_t length, int32_t* index);
614 static int getSystemFontIndexForFontID(SkFontID fontID) {
616 SkASSERT(fontID - 1 < gSystemFonts.count());
617 return fontID - 1;
637 SkFontID fontID = defaultList->fList[fontIdx].fFontID;
638 int sysFontIdx = getSystemFontIndexForFontID(fontID);
770 SkDEBUGF(("---- SkTypeface[%d] %s fontID %d\n",
806 static int findFallbackFontIndex(SkFontID fontId, FallbackFontList* currentFallbackList) {
808 if (currentFallbackList->fList[i].fFontID == fontId) {
949 SkStream* SkFontHost::OpenStream(uint32_t fontID) {
951 return openStreamLocked(fontID);
954 fontID) {
955 FamilyTypeface* tf = (FamilyTypeface*)findFromUniqueIDLocked(fontID);
965 size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length,
968 return getFileNameLocked(fontID, path, length, index);
971 static size_t getFileNameLocked(SkFontID fontID, char path[], size_t length, int32_t* index) {
972 FamilyTypeface* tf = (FamilyTypeface*)findFromUniqueIDLocked(fontID);
1011 /* First see if fontID is already one of our fallbacks. If so, return
1012 its successor. If fontID is not in our list, then return the first one
1100 SkFontID fontID = 0;
1235 // retrieve the typeface that corresponds to this fontID