RAIntegration icon indicating copy to clipboard operation
RAIntegration copied to clipboard

"Bit" label text is too large and gets cut off

Open rzumer opened this issue 6 years ago • 5 comments

I think that the font for this label was changed recently, or maybe I am missing a font and it ends up falling back to some default. Anyway, on my set-up the numbers end up being cut off due to being too large.

image

Using the same font as the rest of the labels in the memory inspector should work.

rzumer avatar Jan 25 '19 01:01 rzumer

How recently is "recently"? This is the only related non-whitespace change in the last four years (three days ago): https://github.com/RetroAchievements/RAIntegration/commit/85949b45ba9365d74a51dcd68169ae07b5fa996d#diff-0312105b0da4a96ba5fec93bef1a22c6R809 @SyrianBallaS - could this change have affected him?

It still appears correctly for me in RAVBA, RANES, RAQUASI88, and RAppleWin:

image

Jamiras avatar Jan 25 '19 01:01 Jamiras

Maybe, I'm going to see if using GetStockFont makes any difference. I really doubt it though. I'll comment back after testing it.

SyrianBallaS avatar Jan 25 '19 01:01 SyrianBallaS

There was no difference.

image

Edit: This was using the latest master with no additional changes in release mode. Edit2: The font is SYSTEM_FIXED_FONT, so probably his system font is too big.

SyrianBallaS avatar Jan 25 '19 01:01 SyrianBallaS

The only thing I can think of to resolve this is to force to use a specific font that all users should (or commonly available) have instead of the currently set system font which could vary across systems.

SyrianBallaS avatar Jan 25 '19 01:01 SyrianBallaS

I increased the default font size in the command line since I use a high DPI display, in case that might change environment variables. Otherwise it must be that the default font is locale-dependent, and setting it to Courier New or Consolas would fix it.

rzumer avatar Jan 25 '19 02:01 rzumer