Closed phkb closed 1 month ago
and on Linux (Mint21)
@phkb What desktop resolution and DPI scaling are you running? If you remove one \t from each line of text in main.m, does this fix it for you? I can confirm that if I do this, it still can display fine on my system and should, theoretically, fix your formatting too.
@brianread108 The Windows message box fonts are typcially variable-width, while the Linux console fonts are typically monospaced. As mentioned in the pull request for this feature, text formatting was optimized for the Windows message box (and apparently, I still failed on that!). Sort of having two different blocks of pretty much the same help text (one for each OS, not too fond of the idea) plus or minus a few tab characters, the Linux text formatting is expected to be slightly different.
It looks like this for me with one tab less on each line. I am on Windows 11 23H2 (10.0.22631.3593) , 1920x1080, 125% scaling:
@phkb I believe it should lpok the same for you too,
Mine was at 100% scaling. Just recompiling with the tweak now.
OK, so the culrpit is indeed DPI scaling. Looking into it now, but chances are that we may have to adjust the text for 100% and live with it for the rest of the scaling options.
@phkb Please test commit 0b5b52b. On my system it works correctly with all available Windows scaling factors.
I think this is resolved now.
Linux - Better:
On Windows 11 (23H2)