MangoHud icon indicating copy to clipboard operation
MangoHud copied to clipboard

Unable to change font using presets.conf file on Steam Deck

Open pajd100 opened this issue 9 months ago • 4 comments

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:

  1. Set font_file = /home/deck/Documents/example.ttf within a preset in presets.conf
  2. Load Steam Deck Gaming Mode
  3. 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

pajd100 avatar Apr 03 '25 07:04 pajd100

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

flightlessmango avatar Apr 22 '25 01:04 flightlessmango

I tried changing config file and then restarting deck but still no joy.

pajd100 avatar Apr 24 '25 07:04 pajd100

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

pajd100 avatar Apr 24 '25 07:04 pajd100

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.

omniscot-tobias avatar Jun 19 '25 08:06 omniscot-tobias