commit | da20b3fc0aed6674160b02eba4919f6ec2379ec7 | [log] [tgz] |
---|---|---|
author | Michael Moss <mmoss@google.com> | Wed Jun 10 20:38:05 2015 |
committer | Michael Moss <mmoss@google.com> | Wed Jun 10 20:40:02 2015 |
tree | 37f07341563248e9c8457fcf1f8be2e242b468c8 | |
parent | c6b3cb90afe79c2cae8dc7626d1c0e4896139bf2 [diff] |
device scale factor detection: use gtk-xft-dpi consistently Before this CL, we used either gtk-xft-dpi (UI fonts) or the physical DPI of a more or less random display. This CL consistently uses gtk-xft-dpi which is the better alternative: users can directly influence it (by changing the Xft.dpi X resource, or via their gtkrc). See also https://github.com/derat/font-config-info for displaying your current system settings. This is a re-do of https://codereview.chromium.org/1070433002/, but with https://codereview.chromium.org/1084453002/ applied (fixes content_shell). BUG=473089,143619,498426 Review URL: https://codereview.chromium.org/1085603002 Cr-Commit-Position: refs/heads/master@{#324928} (cherry picked from commit d459a5c49a02507b9ac77ffbbf33dffeb3bc9c34) TBR=laforge@chromium.org, oshima@chromium.org Review URL: https://codereview.chromium.org/1171693008. Cr-Commit-Position: refs/branch-heads/2357@{#469} Cr-Branched-From: 59d4494849b405682265ed5d3f5164573b9a939b-refs/heads/master@{#323860}