[Top][All Lists]

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

[Octave-bug-tracker] [bug #49627] Incompatible "screenpixelsperinch" pro

From: Rik
Subject: [Octave-bug-tracker] [bug #49627] Incompatible "screenpixelsperinch" property
Date: Mon, 11 Feb 2019 11:51:42 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #2, bug #49627 (project octave):

A related issue is bug #53056.  In that bug report, the issue is that the
linewidth expected by the glLineWidth call is measured in pixels, but the
graphics property LineWidth is measured in points.  The conversion is

pixelwidth = Monitor_Pixels_Per_Inch / Points_Per_Inch * LineWidth_Points

Points_Per_Inch is a fixed constant of 72.  If we follow Matlab, then the
Monitor_Pixels_Per_inch is always 96 and the overall factor is 96/72 == 4/3.

I don't fully understand all the implications of moving to a fixed PPI,
however, so I can't recommend Octave do this until it is fully understood.


Reply to this item at:


  Message sent via Savannah

reply via email to

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