Open
Description
Is your feature request related to a problem? Please describe.
The texts on my GPD WinMax2 which has an 10 inches 2K screen is almost unreadable
Describe the solution you'd like
Use system font sizes to define texts and figures instead of fixed ones
Describe alternatives you've considered
A built in theme for small screens.
Additional context
The reference object is AirPods pro, which is 30.9mm tall and 21.8mm wide:
Activity
loathingKernel commentedon Oct 24, 2022
Font sizes are not fixed, in the sense that Qt should scale them accordingly when it is run in a HiDPi screen.
Your device is HIDPi but the UI doesn't seem to scale accordingly (it should but we have tested this mostly on Linux). Can you try launching with
QT_SCALE_FACTOR=2
set in your environment?loathingKernel commentedon Oct 24, 2022
Looking at the screenshots more closely, the icons seem to be already adjusted to HiDPi, but the fonts, are not. Given that most metrics are inferred from font glyphs, could that be the source of the problem? What font is this (is it CJK?), have you manually adjusted it and does it happen with the default fonts?
kxxoling commentedon Oct 25, 2022
@loathingKernel I cannot start it anymore after a few games installed and then it crashed for unknown reason. It's always stucking at startup. Where can I get the logs?
loathingKernel commentedon Oct 25, 2022
Logs can be found in
C:\Users\<username>\AppData\Local\Rare\Rare\cache\logs
kxxoling commentedon Oct 26, 2022
Error logs is related to api.legendary.gl API:
What is strange is that lenna is not my username.
QT_SCALE makes it looks better now but still not perfect. As I can remember, the default Chinese font is
yahei
which is different from this:I will dig into this further later. Thanks for your help!
loathingKernel commentedon Oct 26, 2022
The error that made Rare not launch seems to be related to network availability. Rare has an offline mode but it has fell into disrepair over time.
lenna
is the username of @Dummerle and it is an artifact of how the msi installer is packaged withcx_freeze
, nothing to worry about.I see what you mean about the UI not scaling properly. I have been doing some tests since the bug report and we are working on it but since personally I don't have a HiDPI display, I can't really test it thoroughly. Progress might be slow.