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

 
 

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

Submitter:  Francesco Potortì <pot>
Submitted:  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
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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:
   
   
Comment:
   

No files currently attached

 

Digest:
   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)
  •  

    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 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.13-f8d8.
    Corresponding source code