bugGNU Octave - Bugs: bug #65931, print() -S switch producing...

 
 

bug #65931: print() -S switch producing incorrect resolution

Submitter:  None
Submitted:  Sat 29 Jun 2024 08:49:55 PM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  None Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Open Release:  * 9.2.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 24 Jul 2024 01:11:03 AM UTC, comment #1: 

I'm guessing this is another problem related to display scaling.  Bug #66005 is similar.

Rik <rik5>
Group administrator
Sat 29 Jun 2024 08:49:55 PM UTC, original submission:  

print(filename.png,'-SxReolution,yResolution') is producing unexpected and (I presume) incorrect results. 

Specifically on my system the [xResolution,yResolution] provided to print() is resulting in output files with an actual resolution of 1.5*[xResolution,yResolution].  This is not what I expect nor what Octave has done up until 9.2.0.

Here are two specific examples:

print(filename.png,'-S2560,1440") is producing filename.png with resolution 3840x2160.

print(filename.png,'-S1920,1080') is producing filename.png with resolution 2880x1620.

etc.

Here are the details of system I have verified this issue on:

Octave 9.2 on Windows 10 (ver. 22H2, build 19045.4598, "Experience" 1000.19060.1000.0) with the Octave 9.2 installer (octave-9.2.0-w64-installer.exe) downloaded from gnu.org/download

4K monitor with Windows Display Settings set to:

Change the size of text, apps, and other items = 150% (Recommended)
Display resolution = 3840x2160
Display orientation = Landscape

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.14-3b9d.
    Corresponding source code