[Webkit-unassigned] [Bug 222883] New: with bwrap fonts are not antialiased on wayland native (i.e. /etc/fonts not considered)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Mar 7 02:45:02 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=222883
Bug ID: 222883
Summary: with bwrap fonts are not antialiased on wayland native
(i.e. /etc/fonts not considered)
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: h.c.f.mueller at gmail.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Created attachment 422524
--> https://bugs.webkit.org/attachment.cgi?id=422524&action=review
effect of bug in evolution
I observe with native wayland the font settings in /etc/fonts are not considered, i.e. fonts are not antialised in the evolution email body handled by webkit, ref. attached picture. Evolution in debian 11 is using libwebkit2gtk-4.0-37 (2.30.5-1) with bwrap.
Font antialiazing in fact is correct in the following cases:
- with X11 (instead of wayland) OR
- bwrap is disabled (i.e. WEBKIT_FORCE_SANDBOX=0 evolution) OR
- wayland running in virtual machine (for my case VMWare Player 12 on Windows 10) OR
- /etc/fonts is overrided by ~/.config/fontconfig/fonts.conf
This bug is not specific to debian. It has been also observed e.g. on arch linux:
- https://bbs.archlinux.org/viewtopic.php?id=262384
- https://gitlab.gnome.org/GNOME/evolution/-/issues/1161
The bug is still present in debian experimental with libwebkit2gtk-4.0-37 (2.31.90-1).
My ~/.config/fontconfig/fonts.conf as a workaround to work on wayland with sandboxing:
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font">
<edit mode="assign" name="antialias"><bool>true</bool></edit>
<edit mode="assign" name="embeddedbitmap"><bool>false</bool></edit>
<edit mode="assign" name="hinting"><bool>true</bool></edit>
<edit mode="assign" name="hintstyle"><const>hintslight</const></edit>
<edit mode="assign" name="lcdfilter"><const>lcddefault</const></edit>
<edit mode="assign" name="rgba"><const>rgb</const></edit>
</match>
</fontconfig>
--
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/20210307/7bca1547/attachment.htm>
More information about the webkit-unassigned
mailing list