Descriptionlinux: 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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284121
Patch Set 1 #
Total comments: 8
Patch Set 2 : apply review feedback #
Total comments: 2
Patch Set 3 : inline initialization of a static variable #
Messages
Total messages: 9 (0 generated)
|