Fix rendering on non HiDPI screens #646
Reference in New Issue
Block a user
Delete Branch "rendering-fix-for-non-HiDPI-screens"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If you have more than one monitor and you drag cool-retro-term from a HiDPI (Retina) screen to a lower resolution screen, the rendering would be at an unreadable low resolution.
Resolves #541
Hi @sacredbanana . Thank you for this PR and I'm very sorry for the very late review. I just tested it under Linux with Qt 5.12 and I'm having a few issues while playing with QT_SCALE_FACTOR so I'll be adding a few comments.
@@ -29,1 +30,3 @@property int pixelSize: lowResolutionFont ? _font.pixelSize : _font.pixelSize * scalingproperty int pixelSize: lowResolutionFont? _font.pixelSize * 2.0 / appSettings.pixelRatio: _font.pixelSize * scalingWith the lowResolutionFont size should be static (like when scanlines are applied), this created some issues in my tests. Does it behave differently in your tests if you revert this line?
@@ -35,0 +34,4 @@appSettings.x = xappSettings.pixelRatio = Window.devicePixelRatio}onYChanged: {In my tests with Qt 5.12 this always returns undefined. Did you mean something like "terminalWindow.screen.devicePixelRatio"?
Pull request closed