Searched refs:cloneTypeface (Results 1 – 3 of 3) sorted by relevance
145 sk_sp<SkTypeface> cloneTypeface( in DEF_TEST() local148 const int cloneAxisCount = cloneTypeface->getVariationDesignPosition(nullptr, 0); in DEF_TEST()151 cloneTypeface->getVariationDesignPosition(clonePosition.data(), clonePosition.size()); in DEF_TEST()
38 sk_sp<SkTypeface> cloneTypeface = font.refTypeface(); in serialize_deserialize() local40 rb.setTypefaceArray(&cloneTypeface, 1); in serialize_deserialize()
458 sk_sp<SkTypeface> cloneTypeface = SkTypeface::MakeDeserialize(typefaceStream.get()); in TestTypefaceSerialization() local459 SkASSERT(cloneTypeface); in TestTypefaceSerialization()463 cloneTypeface->getFamilyName(&cloneName); in TestTypefaceSerialization()465 REPORTER_ASSERT(reporter, typeface->countGlyphs() == cloneTypeface->countGlyphs(), in TestTypefaceSerialization()467 REPORTER_ASSERT(reporter, typeface->fontStyle() == cloneTypeface->fontStyle(), in TestTypefaceSerialization()471 SkFont clone(cloneTypeface, 12); in TestTypefaceSerialization()