bugGNU Octave - Bugs: bug #49121, newlines ignored in text objects...


bug #49121: newlines ignored in text objects when doing print

Submitted by:  Francesco Potortì <pot>
Submitted on:  Sun 18 Sep 2016 01:51:28 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:  4.0.3 Operating System:  GNU/Linux

Add a New Comment (Rich Markup)

You are not logged in

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


Sun 18 Sep 2016 02:42:25 PM UTC, comment #3: 

This has already been fixed on the development branch which will become 4.2 shortly.  Closing report.

Rik <rik5>
Project Administrator
Sun 18 Sep 2016 02:11:48 PM UTC, comment #2: 

Sorry, I was just going to add that this is not a regression, as it works in fact with gnuplot, the problem only exists with fltk.

Francesco Potortì <pot>
Sun 18 Sep 2016 01:56:25 PM UTC, comment #1: 

This is well known problem, see bug #31468 and should be fixed with the next release.

Why do you tag this as "regression"? This has never worked with OpenGL toolkits.

Andreas Weber <andy1978>
Project Member
Sun 18 Sep 2016 01:51:28 PM UTC, original submission:  

> close
> plot(1:10)
> text(3,7,"3,7\n3,7")
> print a.png
> print a.pdf

While the on-screen display is correct, newlines disappear both in a.png and a.pdf, rendering the text on a single line.

Using a cell array of strings changes nothing.

I would appreciate a workaround, if possible, as I really need this...

Francesco Potortì <pot>


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

Attach Files:

No files currently attached


   bug dependencies.

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by avinoam (Updated the item)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by andy1978 (Posted a comment)
  • -email is unavailable- added by pot (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-09-18 avinoam Summarynewlines ignored in text obects when doing print => newlines ignored in text objects when doing print
    2016-09-18 rik5 Item GroupRegression => Incorrect Result
        Open/ClosedOpen => Closed
    2016-09-18 andy1978 StatusNone => Duplicate
    2016-09-18 andy1978 Dependencies- => Depends on bugs #31468

    Back to the top

    Powered by Savane 3.7