Home
last modified time | relevance | path

Searched refs:GetFontName (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium_org/ui/gfx/
Dplatform_font_win_unittest.cc50 EXPECT_EQ(expected_font.GetFontName(), derived_font.GetFontName()); in TEST()
57 EXPECT_EQ(expected_font.GetFontName(), derived_font.GetFontName()); in TEST()
64 expected_font = Font(derived_font.GetFontName(), in TEST()
66 EXPECT_EQ(expected_font.GetFontName(), rederived_font.GetFontName()); in TEST()
83 const Font min_font(base_font.GetFontName(), GetMinFontSize()); in TEST()
Dfont_fallback_win_unittest.cc91 ASSERT_EQ("Arial", font.GetFontName()); in TEST()
94 ASSERT_EQ("Times New Roman", font.GetFontName()); in TEST()
105 ASSERT_EQ("Arial", font.GetFontName()); in TEST()
109 ASSERT_EQ("Tahoma", font.GetFontName()); in TEST()
112 ASSERT_EQ("Times New Roman", font.GetFontName()); in TEST()
Dplatform_font_mac_unittest.mm38 EXPECT_EQ("Helvetica", normal_font.GetFontName());
43 EXPECT_EQ("Helvetica", bold_font.GetFontName());
48 EXPECT_EQ("Helvetica", italic_font.GetFontName());
54 EXPECT_EQ("Helvetica", bold_italic_font.GetFontName());
Dplatform_font_pango_unittest.cc33 EXPECT_EQ("Arial", font->GetFontName()); in TEST()
40 EXPECT_EQ("Times New Roman", font2->GetFontName()); in TEST()
Dfont.cc77 std::string Font::GetFontName() const { in GetFontName() function in gfx::Font
78 return platform_font_->GetFontName(); in GetFontName()
Dfont_fallback_win.cc57 if (fonts->empty() || fonts->back().GetFontName() != name) in AppendFont()
72 const std::wstring original_font_name = UTF8ToWide(font.GetFontName()); in QueryLinkedFontsFromRegistry()
132 const std::string& font_name = font.GetFontName(); in GetLinkedFonts()
Dplatform_font_win.cc166 std::string PlatformFontWin::GetFontName() const { in GetFontName() function in gfx::PlatformFontWin
180 return GetFontName(); in GetLocalizedFontName()
189 return GetFontName(); in GetLocalizedFontName()
Dplatform_font.h64 virtual std::string GetFontName() const = 0;
Dfont.h100 std::string GetFontName() const;
Dplatform_font_mac.h30 virtual std::string GetFontName() const OVERRIDE;
Dplatform_font_ios.h28 virtual std::string GetFontName() const OVERRIDE;
Dplatform_font_pango.h57 virtual std::string GetFontName() const OVERRIDE;
Dplatform_font_pango.cc215 std::string PlatformFontPango::GetFontName() const { in GetFontName() function in gfx::PlatformFontPango
231 pango_font_description_set_family(pfd, GetFontName().c_str()); in GetNativeFont()
Dplatform_font_win.h65 virtual std::string GetFontName() const OVERRIDE;
Dfont_unittest.cc66 EXPECT_EQ(cf.GetFontName(), "Arial"); in TEST_F()
Dplatform_font_ios.mm75 std::string PlatformFontIOS::GetFontName() const {
Dfont_list.cc235 std::string name = fonts_[i].GetFontName(); in GetFontDescriptionString()
Dplatform_font_mac.mm125 std::string PlatformFontMac::GetFontName() const {
Drender_text_unittest.cc1216 EXPECT_EQ("Arial", render_text->GetPrimaryFont().GetFontName()); in TEST_F()
1225 EXPECT_EQ("Arial", fonts[0].GetFontName()); in TEST_F()
1226 EXPECT_EQ("Symbol", fonts[1].GetFontName()); in TEST_F()
1433 EXPECT_EQ(start_font.GetFontName(), end_font.GetFontName()); in TEST_F()
Drender_text_win.cc851 renderer.SetFontFamilyWithStyle(run->font.GetFontName(), run->font_style); in DrawVisualText()
1087 successful_substitute_fonts_[original_font.GetFontName()] = run->font; in LayoutTextRun()
1096 successful_substitute_fonts_.find(original_font.GetFontName()); in LayoutTextRun()
/external/chromium_org/ui/app_list/views/
Dsignin_view.cc40 title_font_.reset(new gfx::Font(base_font.GetFontName(), kTitleFontSize)); in SigninView()
41 text_font_.reset(new gfx::Font(base_font.GetFontName(), kTextFontSize)); in SigninView()
42 button_font_.reset(new gfx::Font(base_font.GetFontName(), kButtonFontSize)); in SigninView()
/external/chromium/chrome/common/
Dbadge_util.cc44 UTF16ToUTF8(base_font.GetFontName()).c_str(), SkTypeface::kNormal); in GetBadgeTextPaintSingleton()
/external/chromium/chrome/browser/chromeos/
Dwm_overview_title.cc45 Font font(base.GetFontName(), 1); in FindFontThisHigh()
/external/chromium_org/ui/base/webui/
Dweb_ui_util.cc147 ui::ResourceBundle::BaseFont).GetFontName() + ", " + font_family; in SetFontAndTextDirection()
/external/chromium_org/chrome/common/
Dbadge_util.cc85 base_font.GetFontName().c_str(), SkTypeface::kNormal)); in GetBadgeTextPaintSingleton()

12