In a dual screen setup (Windows 8.1, check box for "let me choose a scaling for each screen NOT checked"), the font of the current paragraph becomes tiny for some reason.
The two screens are quite different in PPI (one is high DPI screen, the other is a regular ~100 ppi screen). When moving the window from the higDPI (Notebook) screen to the lower DPI screen, things initially look crazy, then everything is fine after the first window redraw. Except: The font of the active paragraph (the one which has the cursor) is much smaller than the rest of the editor text. I believe that might actually be the correct size, whereas the font in the rest of the editor is too large.
When switching font size in such a setup, the editor also messes up the font spacings completely, until a restart of the program.
By and large, TexStudio is doing quite OK in highDPI screens. I am not going back for sure!
you could play around with the rendering settings
From a mail:
has anybody an idea on how to fix this ?
It seems that the font for the active paragraph determines it's magnification from the wrong screen. Since other text appears to be right, it should basically be fixable. So:
Note: It may also be related to [bugs:#534]
1) That may be the harder part. I don't have a Win8x multi-monitor device around (only a Win8 Tablet without external ports; or a Win7 device, which does not help, because Win7 doesn't allow separate scaling for different monitors).
Related
Bugs: #534
The only code path difference seems to be the line cache...
@Anyone with a multi-monitor Win8 setup, who can reproduce the issue: Could you please check, if this fixes the problem:
Options -> Advanced Editor -> Hacks/Workarounds -> Try to automatically choose best display options
Disable cache of rendered lines
below.Render modes
in the same section.alternative test: try to increase font size for editor (default is probably 9) to something larger.
This fixed a similar problem here.
no feedback
Just had this problem. Checking 'Disable cache of rendered lines' does not help (makes all text too small). Changing the render mode from QCE to Qt fixes this.
Does ist work with Qt rendering mode and caching of the rendered lines?
No. Qt render mode with only 'Disable cache of rendered lines' is unchecked and causes the line height problem shown in the attached image.
Qt mode with only 'Disable fixed pitch mode' checked fixes the attached problem but re-introduces the original problem in the first comment.
Last edit: controlcb 2015-11-12
I currently don't have a Win8+ Multimonitor setup to test this.
Moreover Qt 5.6 will be released in December which will come with better support for different scalings on different monitors. I expect that the resolution of the problem will be easier then.
Therefore this issue will stay open for a while.
Last edit: Tim Hoffmann 2015-11-12
There's now a development snapshot available using Qt 5.6.1:
https://sourceforge.net/projects/texstudio/files/texstudio/TeXstudio%20development/
Please check if the problem still exists.