|
| From: | John Swensen |
| Subject: | [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling |
| Date: | Fri, 19 Jan 2018 12:34:21 -0500 (EST) |
| User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.99 Safari/537.36 |
Follow-up Comment #56, bug #49053 (project octave):
This probably points to the fact that we also need a runtime check for which
toolkit is being used to set the screen_scale, not just a compile time check
for QT's devicePixelRatio.
I think the problem is that when QTHandles was loaded, it set the screen_scale
to something > 1.0.
@mweitzel Can you try running the FLTK test before you run the QT test (or is
there some way to ensure the QTHandles is not initialized at startup and only
the FLTK backend is initialized)?
The solution here is probably to make sure that each backend sets the screen
scale variable when constructed to the value it needs. It seems that value
should be:
a) the result of QT's devicePixelRatio for QT and GnuPlot
b) 1.0 for FLTK
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49053>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |