Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 17ffad119ffb7b61c8d329059f9505a9e77e2d80
https://github.com/WebKit/WebKit/commit/17ffad119ffb7b61c8d329059f9505a9e77e2d80
Author: Serhii Tereshchenko <[email protected]>
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 <[email protected]>
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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes