summaryrefslogtreecommitdiffstats
path: root/media/base
diff options
context:
space:
mode:
authorderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-18 16:29:52 +0000
committerderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-18 16:29:52 +0000
commitccf6a5b847c59446baf30c1e57fa993d2f059c96 (patch)
treec83968b21c577283e3a52a2d4eb636dc50923d4d /media/base
parent13dee844b38b5a341728085da78f3b913e23d174 (diff)
downloadchromium_src-ccf6a5b847c59446baf30c1e57fa993d2f059c96.zip
chromium_src-ccf6a5b847c59446baf30c1e57fa993d2f059c96.tar.gz
chromium_src-ccf6a5b847c59446baf30c1e57fa993d2f059c96.tar.bz2
linux: Get font DPI from GTK.
Use GtkSettings's gtk-xft-dpi property to convert Pango font descriptions from points to pixels. Previously PangoContext's default resolution, which is sometimes (always?) unset, was used, resulting in 96 DPI being used for conversions regardless of the value reported by X. BUG=375824 Review URL: https://codereview.chromium.org/406493002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284121 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base')
0 files changed, 0 insertions, 0 deletions