diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/resource_bundle.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/app/resource_bundle.cc b/app/resource_bundle.cc index 6d8829d..4cbd35e 100644 --- a/app/resource_bundle.cc +++ b/app/resource_bundle.cc @@ -145,21 +145,12 @@ void ResourceBundle::LoadFontsIfNecessary() { AutoLock lock_scope(lock_); if (!base_font_.get()) { base_font_.reset(new gfx::Font()); -#if defined(OS_LINUX) && defined(TOOLKIT_VIEWS) - // Toolkit views needs a less gigantor base font to more correctly match - // metrics for the bitmap-based UI. - *base_font_ = base_font_->DeriveFont(-1); -#endif small_font_.reset(new gfx::Font()); *small_font_ = base_font_->DeriveFont(-2); medium_font_.reset(new gfx::Font()); -#if defined(OS_LINUX) && defined(TOOLKIT_VIEWS) - *medium_font_ = base_font_->DeriveFont(2); -#else *medium_font_ = base_font_->DeriveFont(3); -#endif medium_bold_font_.reset(new gfx::Font()); *medium_bold_font_ = |