[Webkit-unassigned] [Bug 213148] [WPE][GTK] WEBKIT_FORCE_SANDBOX (bwrap) results in pixelated font under Wayland where everything is nice with GDK_BACKEND=x11

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 13 11:57:17 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=213148

--- Comment #9 from Jan Pokorný [poki] <fedora at t.poki.me> ---
re [comment 7]

Thanks for bearing with me, Michael :-)

> Does this fix the problem or not:

Sorry, that was really infamous late-night false start :-/
You see there are quite some moving parts in the picture,
so brain farts on my side were likely imminent in this
hassle to get one particular "detail" right.

> Try running this test program with your bwrap command...
> does it give a different result than when run on your host?

Thanks a lot, if that's what WebKitGTK uses for decisions
exclusively, we are down at the root cause:

Outside (sway/Wayland):

> CAIRO_ANTIALIAS_SUBPIXEL or CAIRO_ANTIALIAS_GRAY

inside bwrap[*]:

> CAIRO_ANTIALIAS_NONE

but repeated with GDK_BACKEND=x11:

> CAIRO_ANTIALIAS_SUBPIXEL or CAIRO_ANTIALIAS_GRAY


But hey, correct me if I am wrong, XFT (as in gtk-xft-antialias)
is an X extension only thing, hence it shall not be the main
deciding factor when running solely under Wayland?
Might it be the reason?  My worries would then be that there's
no such a generic counterpart in Wayland, perhaps only
compositor specific ones.  Anyway, I'll keep digging, this
moved me forward a lot, indeed!



[*] modification:
- $MINIBROWSER <<-EOF
+ --ro-bind ./test-antialiasing /bin/test-antialiasing \
+ /bin/test-antialiasing <<-EOF

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200613/3ca6cf46/attachment.htm>


More information about the webkit-unassigned mailing list