|
From: | John Swensen |
Subject: | [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling |
Date: | Wed, 17 Jan 2018 20:34:16 -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.85 Safari/537.36 |
Follow-up Comment #28, bug #49053 (project octave): OK. I reworked the patch to store the information in the display_info object and have the scale default to 1. Only on machines that have QT 5.0 or greater will we query for the screen scale and then set it during the construction of the QtHandles object. This patch should also take care of the image objects and the colorbar (which is technically also an image). I am sure there are a whole slew of other OpenGL-drawn objects that might need an update based on this screen scale factor, but I haven't seen them yet. I also suspect I am in violation of many Octave code style standards. Please let me know what I need to fix and test away! In particular, it would be nice to have one of the Linux folks with QT4.8 give it a whirl to make sure I didn't break anything. (file #42946) _______________________________________________________ Additional Item Attachment: File name: retina_scale_hg_displayinfo.patch Size:6 KB _______________________________________________________ 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] |