Lines Matching full:font
26 using gfx::Font;
41 // Finds a font based on the base font that is no taller than the
42 // given value (well, unless the font at size 1 is taller than the
44 Font FindFontThisHigh(int pixels, Font base) {
45 Font font(base.GetFontName(), 1);
46 Font last_font = font;
47 while (font.GetHeight() < pixels) {
48 last_font = font;
49 font = font.DeriveFont(1, Font::BOLD);
69 title_label_->SetFont(FindFontThisHigh(16, title_label_->font()));
75 url_label_->SetFont(FindFontThisHigh(14, title_label_->font()));