HomeSort by relevance Sort by last modified time
    Searched refs:font2 (Results 1 - 3 of 3) sorted by null

  /external/chromium_org/ui/gfx/
platform_font_pango_unittest.cc 38 scoped_refptr<gfx::PlatformFontPango> font2(
40 EXPECT_EQ("Times New Roman", font2->GetFontName());
41 EXPECT_EQ(15, font2->GetFontSize());
font_list_unittest.cc 303 Font font2("Symbol", 16);
304 ASSERT_EQ("symbol", StringToLowerASCII(font2.GetActualFontNameForTesting()));
305 EXPECT_NE(font1.GetBaseline(), font2.GetBaseline());
307 font2.GetHeight() - font2.GetBaseline());
310 fonts.push_back(font2);
314 font2.GetHeight() - font2.GetBaseline()),
317 EXPECT_EQ(std::max(font1.GetBaseline(), font2.GetBaseline()),
  /external/harfbuzz_ng/test/api/
test-font.c 259 hb_font_t *font2; local
295 font2 = hb_font_create_sub_font (font1);
299 /* setup font2 to override some funcs */
302 hb_font_set_funcs (font2, ffuncs2, NULL, NULL);
306 g_assert (hb_font_get_glyph_contour_point_for_origin (font2, 1, 2, HB_DIRECTION_LTR, &x, &y));
309 g_assert (hb_font_get_glyph_contour_point_for_origin (font2, 2, 5, HB_DIRECTION_RTL, &x, &y));
312 g_assert (!hb_font_get_glyph_contour_point_for_origin (font2, 3, 7, HB_DIRECTION_LTR, &x, &y));
315 x = hb_font_get_glyph_h_advance (font2, 1);
317 x = hb_font_get_glyph_h_advance (font2, 2);
321 font3 = hb_font_create_sub_font (font2);
    [all...]

Completed in 47 milliseconds