RESOLVED FIXED251912
[GLIB] Disable hinting for testing
https://bugs.webkit.org/show_bug.cgi?id=251912
Summary [GLIB] Disable hinting for testing
Vitaly Dyackhov
Reported 2023-02-08 02:29:13 PST
Currently, when rendering text on the GTK platform, font system options such as antialiasing and hinting are taken into account. While this is generally good, it would be great to have a deterministic testing environment.
Attachments
Vitaly Dyackhov
Comment 1 2023-02-08 02:45:48 PST
Vitaly Dyackhov
Comment 2 2023-02-15 04:25:01 PST
There are some tests that differ between GTK and WPE because GTK WebKitTestRunner disables font hinting. It does it by using `GtkSettingsManager` mechanism which doesn't exist on WPE. It would be great to have a way to disable hinting that works on both platforms. It will let us then use the same baselines for such tests.
Carlos Garcia Campos
Comment 3 2023-02-15 04:36:21 PST
Or enable hinting for WPE for testing.
Vitaly Dyackhov
Comment 4 2023-02-15 04:41:46 PST
Hinting is enabled on WPE by default. And currently, there is no API to change it. If understand it correctly, enabling hinting can lead to flaky or even failing tests.
Carlos Garcia Campos
Comment 5 2023-02-15 05:47:41 PST
Ok, that makes sense, then.
EWS
Comment 6 2023-02-17 06:17:03 PST
Committed 260443@main (34e13090c605): <https://commits.webkit.org/260443@main> Reviewed commits have been landed. Closing PR #9805 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.