Skip to content

Commit

Permalink
Merge pull request #37 from leidav/master
Browse files Browse the repository at this point in the history
Don't apply font scaling factor
  • Loading branch information
grulja authored Nov 14, 2018
2 parents d67dae6 + 1383679 commit 687c74e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gnomehintssettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,9 @@ void GnomeHintsSettings::loadFonts()
qDeleteAll(m_fonts);
m_fonts.clear();

gdouble scaling = g_settings_get_double(m_settings, "text-scaling-factor");
//Do not use font scaling as it is already applied
//gdouble scaling = g_settings_get_double(m_settings, "text-scaling-factor");
gdouble scaling = 1.0;
qCDebug(QGnomePlatform) << "Font scaling: " << scaling;

const QStringList fontTypes { "font-name", "monospace-font-name" };
Expand Down

0 comments on commit 687c74e

Please sign in to comment.