bugGNU Octave - Bugs: bug #64281, print with dpdflatex option gives...

 
 

bug #64281: print with dpdflatex option gives incorrect pdf file

Submitter:  None
Submitted:  Tue 06 Jun 2023 02:11:28 AM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  None Assigned to:  None
Originator Name:  David Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 8.2.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 06 Jun 2023 03:06:40 AM UTC, comment #2: 

7.2.0: png and svg work.
8.2.0, hardware: png works, svg crashes.
8.2.0, software: all work.

Updated driver (to currently newest: v535.98) for graphics card (GTX 960M), reinstalled 8.2.0 hardware version. No change (png works, pdf fail, svg crash).

Thus, just not suitable for my (fairly old) graphics card, I'll use the software version. This ticket can be closed. Thanks.

Anonymous
Tue 06 Jun 2023 02:24:25 AM UTC, comment #1: 

What graphics card do you have?
Does printing to png or svg work for you?
It looks like this is an issue with opengl driver.
Try updating driver for you graphics card;
switch opengl driver from hardware to software.

(The default in 7.x was software, in 8,x it is hardware)

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Tue 06 Jun 2023 02:11:28 AM UTC, original submission:  

For versions 8.1.0 and 8.2.0, the following code creates a pdf with green/magenta shades instead of the plot (always, thus irrespective of what is plotted). Version 7.2.0 gives the expected pdf.

Minimum example code:

fh = figure;
plot( sin( 2 * pi * ( 0 : .01 : 1 ) ) );
print( fh, 'Figure', '-dpdflatex' );


Attached files:
Figure-inc_v8.2.0.pdf: incorrect output by 8.2.0
Figure-inc_v7.2.0.pdf: expected output by 7.2.0

(If relevant, both have graphics_toolkit=qt.)

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #54819:  Figure-inc_v7.2.0.pdf added by None (5KiB - application/pdf - The 7.2.0 pdf.)
file #54817:  Figure-inc_v8.2.0.pdf added by None (2KiB - application/pdf)
file #54818:  Figure-inc_v8.2.0.pdf added by None (2KiB - application/pdf)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by dasergatskov (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.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-06-07 rik5 Open/ClosedOpen Closed
    2023-06-06 None Attached File- Added Figure-inc_v7.2.0.pdf, #54819
    2023-06-06 None Attached File- Added Figure-inc_v8.2.0.pdf, #54817
        Attached File- Added Figure-inc_v8.2.0.pdf, #54818

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code