Searched refs:newFont (Results 1 – 7 of 7) sorted by relevance
26 var newFont = this._fontmgr.MakeTypefaceFromData(buffer);27 if (!newFont) {31 this._toCleanup.push(newFont);32 addToFontCache(newFont, descriptors);
99 set: function(newFont) { argument100 var tf = getTypeface(newFont);107 this._fontString = newFont;
101 set: function(newFont) { argument102 var tf = getTypeface(newFont);109 this._fontString = newFont;
45 const SkFont newFont(font.makeWithSize(36)); in test_font() local46 REPORTER_ASSERT(reporter, font.getTypefaceOrDefault() == newFont.getTypefaceOrDefault()); in test_font()47 REPORTER_ASSERT(reporter, 36 == newFont.getSize()); // double check we haven't changed in test_font()
49 const SkFont newFont(font.makeWithSize(36)); in DEF_TEST() local50 REPORTER_ASSERT(reporter, font.getTypefaceOrDefault() == newFont.getTypefaceOrDefault()); in DEF_TEST()51 REPORTER_ASSERT(reporter, 36 == newFont.getSize()); // double check we haven't changed in DEF_TEST()
896 newFont = (fontName, self.fontSize.get(), fontWeight)897 self.labelFontSample.config(font=newFont)898 self.textHighlightSample.configure(font=newFont)