bugGNU Octave - Bugs: bug #55484, Dashed line printing is too small...


bug #55484: Dashed line printing is too small with qt toolkit (regression)

Submitted by:  Rik <rik5>
Submitted on:  Wed 16 Jan 2019 12:37:19 AM UTC  
Category:  Plotting with OpenGL Severity:  4 - Important
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  5.0.1 Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 17 Jan 2019 04:09:50 AM UTC, comment #3: 

@Pantxo: That patch works fine.  I pushed it here https://hg.savannah.gnu.org/hgweb/octave/rev/c40b3b671513.

Closing report.

Rik <rik5>
Project Administrator
Wed 16 Jan 2019 10:45:24 PM UTC, comment #2: 

The attached cset fixes the issue for me.

(file #45989)

Pantxo Diribarne <pantxo>
Project Member
Wed 16 Jan 2019 04:54:07 PM UTC, comment #1: 

Following a suggestion by Pantxo, the correct output can be obtained by using the vector-based "-painters" option to print.

However, it shouldn't be necessary if the -opengl option were really WYSIWYG.

Rik <rik5>
Project Administrator
Wed 16 Jan 2019 12:37:19 AM UTC, original submission:  

Printing a figure with dashed lines does not reproduce the figure that is seen onscreen.  In the printed version the dashes are very small and close together.  This is a regression from 4.4.1, and interestingly does not affect the FLTK toolkit.  That is odd since both the qt and fltk toolkit use gl2ps for backend printing.

Sample code to reproduce:

demo line 1
print tst.png

Attached are plots made with 4.4.1 and the current stable branch.

Rik <rik5>
Project Administrator


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

Attach Files:

Attached Files
file #45989:  opengl_stipple.patch added by pantxo (2KiB - text/x-patch)
file #45982:  line.stable.png added by rik5 (17KiB - image/png)
file #45983:  line.441.png added by rik5 (16KiB - image/png)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by pantxo (Updated the item)
  • -email is unavailable- added by rik5
  • -email is unavailable- added by rik5 (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-01-17 rik5 StatusPatch Submitted => Fixed
        Open/ClosedOpen => Closed
    2019-01-16 pantxo Attached File- => Added opengl_stipple.patch, #45989
        StatusConfirmed => Patch Submitted
    2019-01-16 rik5 Carbon-Copy- => Added pantxo
    2019-01-16 rik5 Attached File- => Added line.stable.png, #45982
        Attached File- => Added line.441.png, #45983

    Back to the top

    Powered by Savane 3.6