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

  /external/harfbuzz_ng/test/api/
test-font.c 258 hb_font_t *font1; local
268 font1 = hb_font_create (face);
270 hb_font_set_scale (font1, 10, 10);
272 /* setup font1 */
276 hb_font_set_funcs (font1, ffuncs1, NULL, NULL);
280 g_assert (hb_font_get_glyph_contour_point_for_origin (font1, 1, 2, HB_DIRECTION_LTR, &x, &y));
283 g_assert (hb_font_get_glyph_contour_point_for_origin (font1, 2, 5, HB_DIRECTION_LTR, &x, &y));
286 g_assert (!hb_font_get_glyph_contour_point_for_origin (font1, 3, 7, HB_DIRECTION_RTL, &x, &y));
289 x = hb_font_get_glyph_h_advance (font1, 1);
291 x = hb_font_get_glyph_h_advance (font1, 2)
    [all...]
  /external/chromium_org/ui/gfx/
font_list_unittest.cc 295 Font font1("Arial", 16);
296 ASSERT_EQ("arial", StringToLowerASCII(font1.GetActualFontNameForTesting()));
298 EXPECT_EQ(font1.GetHeight(), font_list1.GetHeight());
299 EXPECT_EQ(font1.GetBaseline(), font_list1.GetBaseline());
305 EXPECT_NE(font1.GetBaseline(), font2.GetBaseline());
306 EXPECT_NE(font1.GetHeight() - font1.GetBaseline(),
309 fonts.push_back(font1);
313 EXPECT_EQ(std::max(font1.GetHeight() - font1.GetBaseline()
    [all...]

Completed in 149 milliseconds