Searched refs:italicFont (Results 1 – 2 of 2) sorted by relevance
87 Font italicFont = new Font.Builder(am, FONT_DIR + "ascii_g3em_weight400_upright.ttf") in testBuilder_MultipleFont_overrideItalic() local89 FontFamily family = new FontFamily.Builder(regularFont).addFont(italicFont).build(); in testBuilder_MultipleFont_overrideItalic()93 assertTrue(family.getFont(0) == regularFont || family.getFont(0) == italicFont); in testBuilder_MultipleFont_overrideItalic()94 assertTrue(family.getFont(1) == regularFont || family.getFont(1) == italicFont); in testBuilder_MultipleFont_overrideItalic()
850 Typeface italicFont = Typeface.create(normalFont, Typeface.ITALIC); in testGetFont_xmlFileWithTtc() local851 assertNotNull(italicFont); in testGetFont_xmlFileWithTtc()853 assertEquals(getLargerTypeface("a", normalFont, italicFont), normalFont); in testGetFont_xmlFileWithTtc()854 assertEquals(getLargerTypeface("b", normalFont, italicFont), italicFont); in testGetFont_xmlFileWithTtc()