Searched refs:newTypeface (Results 1 – 2 of 2) sorted by relevance
76 sk_sp<SkTypeface> newTypeface(SkTypeface::MakeFromData(sk_ref_sp(data))); in TypefaceStyle_test() local77 if (!newTypeface) { in TypefaceStyle_test()82 SkFontStyle newStyle = newTypeface->fontStyle(); in TypefaceStyle_test()
1062 auto newTypeface = sk_make_sp<SkTypefaceProxy>( in addTypeface() local1065 fRemoteTypefaceIdToTypeface.set(wire.fTypefaceID, newTypeface); in addTypeface()1066 return std::move(newTypeface); in addTypeface()