Searched refs:newFont (Results 1 – 3 of 3) sorted by relevance
37 SkAutoTUnref<SkFont> newFont(font->cloneWithSize(36)); in test_font() local38 REPORTER_ASSERT(reporter, newFont.get()); in test_font()39 REPORTER_ASSERT(reporter, font->getTypeface() == newFont->getTypeface()); in test_font()40 REPORTER_ASSERT(reporter, 36 == newFont->getSize()); // double check we haven't changed in test_font()
267 public void merge(BitmapFont newFont) { in merge() argument268 charSet.merge(newFont.charSet); in merge()270 final int size2 = newFont.pages.length; in merge()274 System.arraycopy(newFont.pages, 0, tmp, size1, size2); in merge()
2048 SkAutoTUnref<SkPDFFont> newFont( in getFontResourceIndex() local2050 int resourceIndex = fFontResources.find(newFont.get()); in getFontResourceIndex()2053 fFontResources.push(newFont.get()); in getFontResourceIndex()2054 newFont.get()->ref(); in getFontResourceIndex()