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

All widgets are missing text #190

Open
notklaatu opened this issue Feb 7, 2023 · 4 comments
Open

All widgets are missing text #190

notklaatu opened this issue Feb 7, 2023 · 4 comments

Comments

@notklaatu
Copy link

notklaatu commented Feb 7, 2023

As far as I know, nothing on my system has significantly changed, but in GIMP all text is missing from all widgets.

I have run this:

$ flatpak repair org.gimp.GIMP

Flatpak appears to confirm that everything is up-to-date and healthy.

And yet:

Screenshot from 2023-02-08 12-33-05

GIMP is the only application, Flatpak or otherwise, affected in this way.

@Jehan
Copy link
Collaborator

Jehan commented Feb 27, 2023

We have from time to time people experiencing similar issues (though mostly on macOS, I think: https://gitlab.gnome.org/GNOME/gimp/-/issues/7589), but we are a bit at a loss at what happens. I think it would require someone who reproduce it with the ability to also investigate what's happening in the code when this happens.

Specifically for the flatpak version of the issue, I wonder if it could be tied to #20.

@HarryMichal
Copy link
Collaborator

Might be worth playing around with locales to see whether this is language dependent.

@notklaatu, what language do you use on your system? It would also be very helpful, if you provided us with more detailed information about your system. What distro, version, desktop environment, etc.

@notklaatu
Copy link
Author

Might be worth playing around with locales to see whether this is language dependent.

@notklaatu, what language do you use on your system? It would also be very helpful, if you provided us with more detailed information about your system. What distro, version, desktop environment, etc.

distro version: RHEL 9.1
desktop: GNOME: 40.10
locale: en_NZ.UTF-8

This output seems possibly relevant:

$ flatpak run org.gimp.GIMP 2>&1 | tee gimp.log
Gtk-Message: 06:07:56.297: Failed to load module "canberra-gtk-module"
Gtk-Message: 06:07:56.297: Failed to load module "pk-gtk-module"

(gimp-2.10:2): Pango-WARNING **: 06:07:56.562: failed to create cairo scaled font, expect ugly output. the offending font is 'Cantarell 11'

(gimp-2.10:2): Pango-WARNING **: 06:07:56.562: font_face status is: file not found

(gimp-2.10:2): Pango-WARNING **: 06:07:56.562: scaled_font status is: file not found

(gimp-2.10:2): Pango-WARNING **: 06:07:56.562: failed to create cairo scaled font, expect ugly output. the offending font is 'Cantarell 11'

It goes on like that.

I appear to have three org.gnome.Platform flatpaks installed (3.38, 42, and 43), which I assume would contain the required fonts?

I also have Cantarell installed locally in /usr/share/fonts/

@HarryMichal
Copy link
Collaborator

@notklaatu, hi, is the issue still happening?

I did some quick search on the internet and encountered a similar case where they apparently fixed the issue by force refreshing the font cache in the flatpak package using the following command (updated to match the GIMP flatpak):

flatpak run --command=fc-cache org.gimp.GIMP//stable -f -v

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants