Home | History | Annotate | Download | only in gfx

Lines Matching full:font

5 #include "ui/gfx/font.h"
24 // gfx::Font::GetNativeFont().
25 void FreeIfNecessary(NativeFont font) {
27 pango_font_description_free(font);
61 Font cf("Arial", 16);
64 EXPECT_EQ(cf.GetStyle(), Font::NORMAL);
72 Font cf("Arial", 16);
73 Font bold(cf.DeriveFont(0, Font::BOLD));
76 EXPECT_EQ(bold.GetStyle(), Font::BOLD);
82 Font cf("Arial", 16);
88 Font cf("Arial", 16);
95 Font cf("Arial", 16);
106 Font cf("Arial", 16);
114 Font cf("Arial", 16);
119 Font cf("Arial", 16);
130 // On Windows, Font::GetActualFontNameForTesting() doesn't work well for now.
133 Font arial("Arial", 16);
135 Font symbol("Symbol", 16);
139 Font fallback_font(invalid_font_name, 16);
147 Font cf("Arial", 8);
148 // The minimum font size is set to 5 in browser_main.cc.
151 Font derived_font = cf.DeriveFont(-4);
156 Font cf("Arial", 8);
157 // The minimum font size is set to 5 in browser_main.cc.
160 Font derived_font = cf.DeriveFont(-2);