jacquesh / foo_openlyrics

An open-source lyric display panel for foobar2000
MIT License
401 stars 24 forks source link

OpenLyric font size changes when system resolution setting changes #342

Open ZYinMD opened 4 months ago

ZYinMD commented 4 months ago

Steps to reproduce

  1. set a certain system resolution, and a certain OpenLyrics font size, for instance, this is my setting:

image image

  1. change the resolution, for instance, I change mine to 4k:

image

(note that the zoom factor was automatically changed from 125% to 250%, all I did was changing resolution)

  1. restart foobar2000

Expected behavior

I changed from 1080p to 2160p, so the screen size quadrupled, but Windows (I was on Windows 10) automatically doubled by zooming factor, so all the layouts in every single app seemed unchanged, nothing shifted, except everything just got crispier. This is also true for foobar2000, although it needed a restart.

However, the font setting in OpenLyrics somehow auto changed from 14 to 7.

image

If it had remained 14, the perceived font size in the Lyrics Panel wouldn't have changed. But now, the perceived font size in the Lyrcis Panel is super small

Versions