bugGNU Octave - Bugs: bug #41954, 'print()' does not manage...


bug #41954: 'print()' does not manage correctly multiline titles

Submitter:  José Luis García Pallero <jgpallero>
Submitted:  Tue 25 Mar 2014 02:01:21 PM UTC
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.8.1 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Tue 25 Mar 2014 11:13:14 PM UTC, comment #5: 

Great. So since Rik already marked this as a duplicate of bug #31468, I'm going to go ahead and close this one since there don't seem to be any other issues different from that bug. Please follow up to that bug report with any further comments or questions.

Mike Miller <mtmiller>
Group Member
Tue 25 Mar 2014 04:51:31 PM UTC, comment #4: 

Thank you, Mike. As in the links you paste is described, the problem comes with the Debian package fonts-font-awesome. By the moment, the problem can be workarounded as is explained in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732440#15

José Luis García Pallero <jgpallero>
Tue 25 Mar 2014 03:45:42 PM UTC, comment #3: 

José, are either of these Debian bugs (and the workarounds suggested in each report) relevant to you?


These are the issues I've had in Debian with ghostscript resulting in the same error message you get.

Mike Miller <mtmiller>
Group Member
Tue 25 Mar 2014 03:11:51 PM UTC, comment #2: 

Rik, thank you very much for your advice. Unfortunately, 'print()' doesn't work in my installation using gnuplot. I've compiled myself octave 3.8.1 and no errors were emitted during the process. If I try 'print' with gnuplot, I obtain:

GPL Ghostscript 9.05: Unrecoverable error, exit code 1

and the figure (pdf, png, etc.) is not generated. I'm using Debian Sid and Ghostscript 9.05~dfsg-8+b1 from the official repositories.

Anyone working with Debian has the same problem?

José Luis García Pallero <jgpallero>
Tue 25 Mar 2014 02:40:07 PM UTC, comment #1: 

Unfortunately, this is a known problem with multi-line text objects and printing.  See bug #31468.

You could switch over to the gnuplot toolkit if you need this feature immediately.

Rik <rik5>
Group administrator
Tue 25 Mar 2014 02:01:21 PM UTC, original submission:  


I'm trying to export a plot whose title has two lines using the function print(), but I obtain incorrect results, i.e., the exported figure has a title with only one line (containing the two original ones). The resulting plot on screen is correctly plotted with the multiline title, but apparently the 'print()' function could has a bug. Attached I sent an example script

José Luis García Pallero <jgpallero>


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

Attach Files:

Attached Files
file #31034:  twolintitle.m added by jgpallero (240B - application/octet-stream)


   bug dependencies.

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by jgpallero (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
    2014-03-25 mtmiller Open/ClosedOpen Closed
    2014-03-25 rik5 StatusNone Duplicate
        Dependencies- Depends on bugs #31468
    2014-03-25 jgpallero Attached File- Added twolintitle.m, #31034

    Back to the top

    Powered by Savane 3.13-ee12.
    Corresponding source code