Hi! I've recently noticed a problem with font rendering in the "Open file" dialog. I'm using Gnome with Wayland.
The "open file" dialog does not show any meaningful characters, only empty spaces or rectangles.
This issue seems to affect GameMaker specifically; other GTK apps render Adwaita Sans correctly.
Here are the logs that seem to be related:
(GameMaker:133674): Pango-WARNING **: 12:23:34.822: failed to create cairo scaled font, expect ugly output. the offending font is 'Adwaita Sans Bold 11'
(GameMaker:133674): Pango-WARNING **: 12:23:34.822: font_face status is: <unknown error status>
(GameMaker:133674): Pango-WARNING **: 12:23:34.822: scaled_font status is: out of memory
(GameMaker:133674): Pango-WARNING **: 12:23:34.823: failed to create cairo scaled font, expect ugly output. the offending font is 'Adwaita Sans Bold 11'
(GameMaker:133674): Pango-WARNING **: 12:23:34.823: font_face status is: <unknown error status>
(GameMaker:133674): Pango-WARNING **: 12:23:34.823: scaled_font status is: out of memory
Adwaita is the default Gnome font family nowadays.
A workaround is switching to another font family, for example
gsettings set org.gnome.desktop.interface font-name "DejaVu Sans 11"
gsettings set org.gnome.desktop.interface monospace-font-name "DejaVu Sans Mono 11"
However, it changes the font for every app.
gamemaker-beta-bin version 2024.1400.2.941-1
GNOME Shell 49.2
Is there a fix for font rendering in GameMaker or a workaround to change the fonts specifically for GameMaker?
Pinned Comments