MangoHud icon indicating copy to clipboard operation
MangoHud copied to clipboard

The font scaling of MangoApp is causing font spacing errors when switching settings during runtime.

Open Gawah opened this issue 2 years ago • 1 comments

Describe the bug I have written a plugin for customizing the performance monitoring style of Steam Deck. I have found that changing the font scaling setting may cause font spacing errors. For example, initially my font scaling setting was 1, as shown in the following figure: mangoapp_scale1 Then I set the font scaling to 2.: mangoapp_scale2 Finally, I set the font scaling back to 1, and you can see that the font spacing is different from the initial setting.: mangoapp_scale1(1) List relevant hardware/software information

  • OS: Arch Linux
  • Kernel Version: 6.1.1-valve1-1-neptune-61 (64-bit)
  • Processors: 16 × AMD Ryzen 7 6800U with Radeon Graphics
  • RAM: 32 GB
  • MangoHud version:0.6.9.r178.g4341843-1

To Reproduce Steps to reproduce the behavior:

  1. (For convenience of testing and to exclude the possibility of a bug in my plugin, test using the console.)Run in the console: gamescope -- sh -c "mangoapp& vkcube"
  2. To modify the configuration parameters, go to the directory /home/deck/.config/MangoHud/MangoHud.conf. You can set font_scale=1 or leave it unset.
  3. Modify the configuration parameters and set font_scale=2.
  4. Finally, change back font_scale to 1 or remove this parameter setting, and you will see that the font spacing is different from the beginning.

Expected behavior Regardless of the value set for font_scale, when font_scale and other configuration parameters are the same, the font spacing should be consistent.

Gawah avatar May 30 '23 20:05 Gawah

I can confirm this issue, but so far I don't know what causes it

flightlessmango avatar Jun 23 '23 17:06 flightlessmango