Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken UI fonts for Libreoffice flatpak and other applications #1558

Closed
nikostourvas opened this issue Aug 2, 2024 · 8 comments · Fixed by #1560
Closed

Broken UI fonts for Libreoffice flatpak and other applications #1558

nikostourvas opened this issue Aug 2, 2024 · 8 comments · Fixed by #1560
Labels
bug Something isn't working help wanted Keep Bluefin alive, dive in!

Comments

@nikostourvas
Copy link

Describe the bug

Just updated to Bluefin 39.20240728.0 and Libreoffice UI fonts are broken. Title fonts in secondary windows of firefox (e.g. history window) and thunderbird (e.g. notifications) are also broken. Everything was fine in Bluefin 39.20240721.0.

image
image

What did you expect to happen?

All UI elements in application to look properly as they did in the previous bluefin version (39.20240721.0) that I had been using for the past week.

Output of rpm-ostree status

State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:39
                   Digest: sha256:7291ba37269477ecac9e2e6902fabb71a3dbb8fc8b434c2aae26df9dc15b5f9a
                  Version: 39.20240728.0 (2024-07-28T05:53:12Z)
          LayeredPackages: cairo-gobject-devel gobject-introspection-devel grubby
                           python3-cairo-devel python3-pytest
            LocalPackages: nautilus-dropbox-2023.09.06-1.fc37.x86_64

  ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:39
                   Digest: sha256:f8a12908108c8c77a2319171c3c2823dd863db51cfba4a4f6460cbf20bafa473
                  Version: 39.20240721.0 (2024-07-21T05:53:17Z)
          LayeredPackages: cairo-gobject-devel gobject-introspection-devel grubby
                           python3-cairo-devel python3-pytest
            LocalPackages: nautilus-dropbox-2023.09.06-1.fc37.x86_64

  ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:39
                   Digest: sha256:fa59a72899d05f7bdd5919610f20dac1838a489e0801227efb24f499a381f890
                  Version: 39.20240312.0 (2024-03-12T16:53:42Z)
          LayeredPackages: cairo-gobject-devel gobject-introspection-devel grubby
                           python3-cairo-devel python3-pytest
            LocalPackages: nautilus-dropbox-2023.09.06-1.fc37.x86_64
                   Pinned: yes

Output of groups

nikos wheel lxd libvirt incus-admin docker

Extra information or context

No response

@dosubot dosubot bot added the bug Something isn't working label Aug 2, 2024
@castrojo
Copy link
Member

castrojo commented Aug 2, 2024

I haven't been able to reproduce this but here's some workarounds people are working with: https://universal-blue.discourse.group/t/encoding-issue-in-bluefin/3281/18

@nikostourvas
Copy link
Author

Yeap hadn't seen that, thanks for the quick reply.

Plyply's solution was the only one that worked for me as well, as is suggested in the forum.

`flatpak list`

#Put the AppID in this command.

`flatpak run --command=fc-cache "AppID" -f -v`

@castrojo castrojo added the help wanted Keep Bluefin alive, dive in! label Aug 3, 2024
@castrojo
Copy link
Member

castrojo commented Aug 3, 2024

This one seems to be fixing it for folks:

flatpak list --columns=application | xargs -I %s -- flatpak run --command=fc-cache %s -f -v

@castrojo castrojo linked a pull request Aug 4, 2024 that will close this issue
@castrojo
Copy link
Member

castrojo commented Aug 4, 2024

OK this should be live for gts users, unfortunately there's some nvidia and -dx skew so I'll need to try to rebuild them again tomorrow.

The fix runs the fc-cache command on the next login in the background.

@castrojo
Copy link
Member

castrojo commented Aug 8, 2024

Anyone still getting this?

@0xBLERKO
Copy link

0xBLERKO commented Aug 8, 2024

I am. Tried the suggested command to run fc-cache for apps and the system, no change. I used gnome tweak to change from ubuntu font to default gnome cantarell and that resolved for me. Changing back to ubuntu font recreates the issue. It appears user specific as other user profiles on the same system do not have the font issue and display ubuntu font just fine. Some kind of user font cache not cleared by fc-cache?

edit: I am using latest gts build for dx on a framework laptop. Possible extra factor, I recently restored from Pika backup. Maybe my issue is different?

@0xBLERKO
Copy link

0xBLERKO commented Aug 8, 2024

I deleted contents of .cache/fontconfig and my user specific issue is resolved. This dir is not included in backup and not cleaned by fc-cache. I have no more font issues for any users.

@castrojo
Copy link
Member

castrojo commented Nov 2, 2024

This was 39 only, closing!

@castrojo castrojo closed this as completed Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Keep Bluefin alive, dive in!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants