Searched refs:fontBuilder (Results 1 – 3 of 3) sorted by relevance
82 … Font_Builder_Delegate fontBuilder = Font_Builder_Delegate.sBuilderManager.getDelegate(fontPtr); in nAddFont() local83 if (familyBuilder == null || fontBuilder == null) { in nAddFont()87 if (fontBuilder.filePath.equals("")) { in nAddFont()88 font = loadFontBuffer(fontBuilder.mBuffer); in nAddFont()91 font = loadFontPath(fontBuilder.filePath); in nAddFont()94 familyBuilder.addFont(font, fontBuilder.mWeight, fontBuilder.mItalic); in nAddFont()
137 minikin::Font::Builder fontBuilder(minikinFont); in addSkTypeface() local140 fontBuilder.setWeight(weight); in addSkTypeface()143 fontBuilder.setSlant(static_cast<minikin::FontStyle::Slant>(italic != 0)); in addSkTypeface()145 builder->fonts.push_back(fontBuilder.build()); in addSkTypeface()
331 final Font.Builder fontBuilder = new Font.Builder(mgr, fontFile.getFileName(), in createFromResources() local336 fontBuilder.setWeight(fontFile.getWeight()); in createFromResources()339 fontBuilder.setSlant(fontFile.getItalic() == FontFileResourceEntry.ITALIC in createFromResources()344 familyBuilder = new FontFamily.Builder(fontBuilder.build()); in createFromResources()346 familyBuilder.addFont(fontBuilder.build()); in createFromResources()