Descriptionlinux: Round font sizes when going from points to pixels.
Round point-based Pango font sizes to the nearest pixel.
Otherwise, we can end up with smaller UI fonts than GTK+ 2.0
apps in some cases.
This seems to be in line with what get_scaled_size() does in
Pango's pango/pangofc-fontmap.c, and gives me identically
sized text in Gimp 2.6.12 and Chrome when I set the
Gtk/FontName XSETTINGS property to "Arial 10".
Note that Chrome doesn't currently honor additional
fine-grained configuration performed via FontConfig, like
disabling antialiasing for fonts of a certain size. That'll
happen in a separate change.
BUG=375824
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282204
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|