Searched refs:derived_font (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/ui/gfx/
H A Dplatform_font_win_unittest.cc49 Font derived_font = platform_font->DeriveFontWithHeight(target_height, 0); local
50 EXPECT_EQ(expected_font.GetFontName(), derived_font.GetFontName());
51 EXPECT_EQ(expected_font.GetFontSize(), derived_font.GetFontSize());
53 EXPECT_EQ(0, derived_font.GetStyle());
55 derived_font = platform_font->DeriveFontWithHeight(target_height,
57 EXPECT_EQ(expected_font.GetFontName(), derived_font.GetFontName());
58 EXPECT_EQ(expected_font.GetFontSize(), derived_font.GetFontSize());
60 EXPECT_EQ(Font::BOLD, derived_font.GetStyle());
63 Font rederived_font = derived_font.DeriveFont(1, 0);
64 expected_font = Font(derived_font
87 const Font derived_font = local
100 const Font derived_font = platform_font->DeriveFontWithHeight(1, 0); local
[all...]
H A Dfont_unittest.cc151 Font derived_font = cf.DeriveFont(-4); local
152 EXPECT_EQ(5, derived_font.GetFontSize());
160 Font derived_font = cf.DeriveFont(-2); local
161 EXPECT_EQ(6, derived_font.GetFontSize());

Completed in 152 milliseconds