[webkit-changes] [WebKit/WebKit] 17ffad: [GTK] Fixes invalid DPI-aware font size conversion
Serhii Tereshchenko
noreply at github.com
Sun Feb 16 14:45:01 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 17ffad119ffb7b61c8d329059f9505a9e77e2d80
https://github.com/WebKit/WebKit/commit/17ffad119ffb7b61c8d329059f9505a9e77e2d80
Author: Serhii Tereshchenko <serg.partizan at gmail.com>
Date: 2025-02-16 (Sun, 16 Feb 2025)
Changed paths:
M Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp
M Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp
Log Message:
-----------
[GTK] Fixes invalid DPI-aware font size conversion
https://bugs.webkit.org/show_bug.cgi?id=283310
Reviewed by Michael Catanzaro.
This DPI canculation was not necessary, because webkit is expecting
"logical pixels" and not "device pixels" for font size.
* Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp:
(webkit_settings_font_size_to_points):
(webkit_settings_font_size_to_pixels):
* Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp:
(testWebKitSettings):
Co-authored-by: Michael Catanzaro <mcatanzaro at redhat.com>
Canonical link: https://commits.webkit.org/290464@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list