Lines Matching refs:typeface
99 mFonts[i].typeface->UnrefLocked();
103 bool FontFamily::addFont(MinikinFont* typeface) {
107 bool ok = typeface->GetTable(os2Tag, NULL, &os2Size);
110 ok = typeface->GetTable(os2Tag, os2Data.get(), &os2Size);
117 addFontLocked(typeface, style);
125 void FontFamily::addFont(MinikinFont* typeface, FontStyle style) {
127 addFontLocked(typeface, style);
130 void FontFamily::addFontLocked(MinikinFont* typeface, FontStyle style) { typeface->RefLocked();
131 mFonts.push_back(Font(typeface, style));
170 result.font = bestFont->typeface;
181 return mFonts[index].typeface;
191 MinikinFont* typeface = getClosestMatch(defaultStyle).font;
194 if (!typeface->GetTable(cmapTag, NULL, &cmapSize)) {
201 if (!typeface->GetTable(cmapTag, cmapData.get(), &cmapSize)) {