lakoliu / Furtherance

Track your time without being tracked
GNU General Public License v3.0
247 stars 23 forks source link

Missing/wrong fonts #92

Closed petr-fischer closed 1 year ago

petr-fischer commented 1 year ago

Installed the app from the Flatpak to the Ubuntu 22.04.01 LTS and... look at the screenshot. Do you need another debug output? Send me the commands.

Screenshot from 2022-10-17 14-57-02

Console output:

➤  flatpak run com.lakoliu.Furtherance

(furtherance:2): Pango-WARNING **: 15:00:09.400: failed to create cairo scaled font, expect ugly output. the offending font is 'Roboto Condensed, Bold 15'

(furtherance:2): Pango-WARNING **: 15:00:09.400: font_face status is: file not found

(furtherance:2): Pango-WARNING **: 15:00:09.400: scaled_font status is: file not found

(furtherance:2): Pango-WARNING **: 15:00:09.411: failed to create cairo scaled font, expect ugly output. the offending font is 'Roboto Condensed, Bold 15'

(furtherance:2): Pango-WARNING **: 15:00:09.411: font_face status is: file not found

(furtherance:2): Pango-WARNING **: 15:00:09.411: scaled_font status is: file not found

(furtherance:2): Pango-WARNING **: 15:00:09.422: failed to create cairo scaled font, expect ugly output. the offending font is 'Roboto Condensed, Bold 75'

(furtherance:2): Pango-WARNING **: 15:00:09.422: font_face status is: file not found

(furtherance:2): Pango-WARNING **: 15:00:09.422: scaled_font status is: file not found

(furtherance:2): Pango-WARNING **: 15:00:09.434: failed to create cairo scaled font, expect ugly output. the offending font is 'Roboto Condensed, Bold 75'

(furtherance:2): Pango-WARNING **: 15:00:09.434: font_face status is: file not found

(furtherance:2): Pango-WARNING **: 15:00:09.434: scaled_font status is: file not found

(furtherance:2): Pango-WARNING **: 15:00:09.445: failed to create cairo scaled font, expect ugly output. the offending font is 'Roboto Condensed, 15'

(furtherance:2): Pango-WARNING **: 15:00:09.445: font_face status is: file not found

(furtherance:2): Pango-WARNING **: 15:00:09.445: scaled_font status is: file not found

(furtherance:2): Pango-WARNING **: 15:00:09.456: failed to create cairo scaled font, expect ugly output. the offending font is 'Roboto Condensed, 15'

(furtherance:2): Pango-WARNING **: 15:00:09.457: font_face status is: file not found

(furtherance:2): Pango-WARNING **: 15:00:09.457: scaled_font status is: file not found
lakoliu commented 1 year ago

Interesting, thanks for sharing this. Let me look into this and I'll update you as soon as possible.

lakoliu commented 1 year ago

I just created a fresh Ubuntu 22.04 VM and couldn't replicate this. Please try to apt upgrade and also flatpak update and see if that fixes the issue. If that does not work, try apt install fonts-roboto fonts-noto and check if that fixes it.

petr-fischer commented 1 year ago

You are right. I created another linux user on my machine and under that user, everything is OK. Unfortunately, I have no idea whats wrong with my profile :( Closing...

petr-fischer commented 3 months ago

After a long time, I found a solution on the net, in the case of font problems, run this command:

flatpak run --command=fc-cache com.lakoliu.Furtherance -f -v

(It seems like the problem is solved inside the app container, not on my system.)

rickykresslein commented 3 months ago

Great, thanks for sharing that solution!