Lines Matching refs:font
81 * The list may contain null when the font failed to load. If null is reached when trying to
83 * some font failed to load.
102 Font font = ffd.getFont(weight, isItalic);
103 if (font != null) {
106 fonts.add(font);
109 // We cannot open each font and get locales supported, etc to match the fonts.
119 // Add the font with the matching variant to the list.
121 fonts.add(font);
126 // The FontFamily is valid but doesn't contain any matching font. This means
127 // that the font failed to load. We add null to the list of fonts. Don't throw
128 // the warning just yet. If this is a non-english font, we don't want to warn
236 for (FontConfig.Font font : family.getFonts()) {
237 String fullPathName = "/system/fonts/" + font.getFontName();
239 font.getWeight(), font.isItalic());