Home
last modified time | relevance | path

Searched refs:newFont (Results 1 – 2 of 2) sorted by relevance

/external/skia/tests/
DFontMgrTest.cpp42 SkAutoTUnref<SkFont> newFont(font->cloneWithSize(36)); in test_font() local
43 REPORTER_ASSERT(reporter, newFont.get()); in test_font()
44 REPORTER_ASSERT(reporter, font->getTypeface() == newFont->getTypeface()); in test_font()
45 REPORTER_ASSERT(reporter, 36 == newFont->getSize()); // double check we haven't changed in test_font()
/external/skia/src/pdf/
DSkPDFDevice.cpp2198 SkAutoTUnref<SkPDFFont> newFont( in getFontResourceIndex() local
2200 int resourceIndex = fFontResources.find(newFont.get()); in getFontResourceIndex()
2203 fFontResources.push(newFont.get()); in getFontResourceIndex()
2204 newFont.get()->ref(); in getFontResourceIndex()