WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 213148
222883
with bwrap fonts are not antialiased on wayland native (i.e. /etc/fonts not considered)
https://bugs.webkit.org/show_bug.cgi?id=222883
Summary
with bwrap fonts are not antialiased on wayland native (i.e. /etc/fonts not c...
Hannes Müller
Reported
2021-03-07 02:45:02 PST
Created
attachment 422524
[details]
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>
Attachments
effect of bug in evolution
(17.84 KB, image/png)
2021-03-07 02:45 PST
,
Hannes Müller
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-03-14 03:45:16 PDT
<
rdar://problem/75404420
>
Hannes Müller
Comment 2
2021-03-21 02:02:39 PDT
After further investiation I found out this is a duplication of:
https://bugs.webkit.org/show_bug.cgi?id=213148
So adding a dependency to xdg-desktop-portal-gtk resolved the problem also for debian 11. *** This bug has been marked as a duplicate of
bug 213148
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug