Unable to change font using presets.conf file on Steam Deck
Do not report issue for old MangoHud versions
Describe the bug When using font-file in presets.conf on a Steam Deck the font specified is not used. Other parameters in the presets.conf file work, but not specifying the font.
List relevant hardware/software information
- Steam OS
- MangoHud version as per Steam OS 3.6
- GPU - Steam Deck APU
To Reproduce Steps to reproduce the behavior:
- Set font_file = /home/deck/Documents/example.ttf within a preset in presets.conf
- Load Steam Deck Gaming Mode
- Font in MangoHud does not change
Expected behavior Font specified in presets.conf should be used
Screenshots N/A
Additional context Willing to help test on my Steam Deck if anyone has a bug fix
When reloading the config, we don't recreate the font. In theory this should still work if you restarted the deck after changing the presets config.
I suppose we could check if font_file is present and then recreate the font
I tried changing config file and then restarting deck but still no joy.
My presets.conf file looks like this and neither preset 2 or 3 have the font changed.
[preset 2] legacy_layout=0 horizontal font_scale=1 font_file=/home/deck/Documents/ComicMono.ttf battery battery_time gpu_stats cpu_stats cpu_power gpu_power ram fps frametime=0 hud_no_margin table_columns=14 frame_timing=1
[preset 3] inherit font_file=/home/deck/Documents/test.otf
I’ve had the same issue myself on Bazzite, works great previewing in GOverlay and MangoJuice, but when I use the overlay in Steam it just reverts to the default typeface.