addSkTypeface
50 static jboolean addSkTypeface(FontFamily* family, SkTypeface* face) { 51 MinikinFont* minikinFont = new MinikinFontSkia(face); 52 bool result = family->addFont(minikinFont); 53 minikinFont->Unref(); 54 return result; 55 }
27 MinikinFontSkia::MinikinFontSkia(SkTypeface *typeface) : 28 mTypeface(typeface) { 29 }