|
From: | John Swensen |
Subject: | [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling |
Date: | Wed, 24 Jan 2018 15:40:49 -0500 (EST) |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.113 Safari/537.36 |
Follow-up Comment #85, bug #49053 (project octave): I think the line width adjustment bug has two parts and one of those parts should be part of this patch. 1) Is the line width scaled with HiDPI screens? 2) Is the line width sufficient, after HiDPI issues are fixed? I think we should definitely scale the glLineWidth based on the HiDPI scale factor as part of this changeset, as it is already fixing many other OpenGL drawing issues that involve HiDPI, but also have a different bug that discusses the correct value for the linewidth. This fix involves changing line in opengl_renderer::set_linewidth (float w) glLineWidth (w); to glLineWidth (w * display_info::screen_scale ()); As a side note, I am doing some experiments where I am moving windows back and forth between a HiDPI screen and a non-HiDPI screen to figure out how to make that scale factor change based on the window location (for QT only) _______________________________________________________ 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] |