octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macO


From: Rik
Subject: [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling
Date: Wed, 24 Jan 2018 11:13:15 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #49053 (project octave):

                 Release:                   4.2.0 => dev                    
        Operating System:                  Mac OS => Any                    

    _______________________________________________________

Follow-up Comment #82:

@Ben: Could you file a separate bug report about line width?  I'm pretty sure
the issue is just conversion.  According to Matlab documentation, "LineWidth"
is specified in points.  But, Octave is using the glLineWidth call with no
conversion which sets a value in pixels.  Hence, on an average screen Matlab
draws a LineWidth 1 object that is 1/72 of an inch.  But Octave would draw a
line which is 1/96 of an inch (standard DPI).  Hence Octave's line will be
72/96 or 75% of Matlab's line.  I pulled your images up in GIMP and zoomed in
to 2300% and I measure Octave's line at ~4.3 pixels and Matlab's at ~6.1
pixels for a ratio of 70%.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49053>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]