Home
last modified time | relevance | path

Searched refs:cloneTypeface (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/tests/
DTypefaceMacTest.cpp145 sk_sp<SkTypeface> cloneTypeface( in DEF_TEST() local
148 const int cloneAxisCount = cloneTypeface->getVariationDesignPosition(nullptr, 0); in DEF_TEST()
151 cloneTypeface->getVariationDesignPosition(clonePosition.data(), clonePosition.size()); in DEF_TEST()
DFontTest.cpp38 sk_sp<SkTypeface> cloneTypeface = font.refTypeface(); in serialize_deserialize() local
40 rb.setTypefaceArray(&cloneTypeface, 1); in serialize_deserialize()
DSerializationTest.cpp458 sk_sp<SkTypeface> cloneTypeface = SkTypeface::MakeDeserialize(typefaceStream.get()); in TestTypefaceSerialization() local
459 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()