Sub-pixel anti-aliasing is not being applied to snaps

Bug #1916342 reported by soredake
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

In my ~/.config/fontconfig/fonts.conf i have this:
```
  <edit name="rgba" mode="assign">
   <const>rgb</const>
  </edit>
```
It is not applied to snaps, making fonts in snaps look bad.

Revision history for this message
soredake (soredake) wrote :
Revision history for this message
soredake (soredake) wrote :
Revision history for this message
Ian Johnson (anonymouse67) wrote :

This is a per-snap feature, snapd doesn't specifically modify any font features, and we are working towards having as many snaps as possible use snapcraft's configure hook which sets up a private font cache that is per-snap and not shared. So if you find this is happening for a snap which uses that configure hook, then we can add a snapcraft task here to look into updating the configure hook there to support your config.

An example snap that uses that configure hook would be the chromium snap on the stable channel, can you try installing that snap with

snap install chromium --stable

and then check if your fonts are configured the way you expect?

Changed in snapd (Ubuntu):
status: New → Incomplete
Revision history for this message
soredake (soredake) wrote :

>and then check if your fonts are configured the way you expect?

Yes, rgb works with chromium snap.

Snap that i tested is telegram desktop (https://github.com/telegramdesktop/tdesktop/blob/dev/snap/snapcraft.yaml), so it's better for to report to them?

Revision history for this message
Ian Johnson (anonymouse67) wrote :

Yes, I would say that you should file bugs with individual snaps then, you can suggest to snaps to try upgrading to using the extensions from modern snapcraft such as kde-neon or gnome-* but it's possible that some snaps will not be able to switch to using those extensions.

Changed in snapd (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
soredake (soredake) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.