WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
225912
[GTK] REGRESSION(
r271354
): Font sizes calculated incorrectly
https://bugs.webkit.org/show_bug.cgi?id=225912
Summary
[GTK] REGRESSION(r271354): Font sizes calculated incorrectly
Milan Crha
Reported
2021-05-18 02:55:51 PDT
The changes for
bug #218450
removes default font size recalculations for higher DPI, which means the DPI scaling is applied twice to some fonts. This is visible on the named font sizes, like the `medium` and others, which are derived from the default font size. The webkit_settings_font_size_to_pixels() applies the DPI scaling and the scaling is applied again after the change for the
bug #218450
. To make it work properly the default font sizes can be calculated for 96 DPI only, but it's not what the WebKitSettings properties are meant to be, because they expect raw pixel size. This had been reported downstream as:
https://gitlab.gnome.org/GNOME/evolution/-/issues/1485
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug