bugGNU Octave - Bugs: bug #43019, "print" command fails on...

 
 

bug #43019: "print" command fails on linebreaks, bold and special character

Submitter:  Hartmut <hardy>
Submitted:  Mon 18 Aug 2014 08:01:00 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.8.2 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 18 Aug 2014 09:21:43 PM UTC, comment #1: 

Alas, this is a known issue.  The 'tex' interpreter for OpenGL only exists for on-screen rendering, not for printing.  Marking this bug as a duplicate of bug #42320.

Rik <rik5>
Group administrator
Mon 18 Aug 2014 08:01:00 PM UTC, original submission:  

Here is an example of the behavior:


close all;
graphics_toolkit('fltk');
figure(1);
plot(1:10);
title('\bf Hello');            % bold
xlabel('angle [°]');           % special character
text(1,8,{'line 1','line 2'}); % new line
print('-dpng','image.png');


The resulting png file has neither

  • the bold print of the heading, nor
  • the new line of the text object, nor
  • the degree sign in the label


This happens with fltk. In Gnuplot its a bit better, at least the linebreaks work there. It works totally fine in Matlab.

Hartmut <hardy>

 

(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 rik5 (Posted a comment)
  • -email is unavailable- added by hardy (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-04-25 rik5 Open/ClosedOpen Closed
    2014-08-18 rik5 Dependencies- Depends on bugs #42320
    2014-08-18 rik5 StatusNone Duplicate

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code