bugGNU Octave - Bugs: bug #34142, printing to gif does not output...

 
 

bug #34142: printing to gif does not output text elements.

Submitted by:  None
Submitted on:  Fri 26 Aug 2011 04:08:20 PM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: Wont FixAssigned to: Ben Abbott <bpabbott>
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 3.4.0
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.

 

Fri 02 Sep 2011 02:21:18 AM UTC, comment #3:

This is a bug/feature of gnuplot.

The solution provided by Octave's developers to overcome the limitations of gnuplot was to introduce an OpenGL backend (FLTK). Unfortunately, there is no gif output available from the OpenGL backend.

I don't see how anything can be done from Octave to overcome this problem. Thus, I'm inclined to close this item.

However, I'll keep in open temporally to allow for suggestions.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Mon 29 Aug 2011 04:49:41 AM UTC, comment #2:

This is a work around which produces usable (though less pretty) text on gif

print ('plot-test','-dgif','-Farial');
Could not find/open font when opening font arial , trying default

Presumably it should already have been try the default font but was not.

Anonymous
Mon 29 Aug 2011 04:27:58 AM UTC, comment #1:

while png does output correctly I also find similar issues if I try to create debug output for png (as a aid to finding the gif bug.).

print ('plot.png','-dpng');
drawnow ('png','plot.png', false, "debug.gp")
gdImageStringFT: Could not find/open font while printing string -0.8 with font {}
gdImageStringFT: Could not find/open font while printing string -0.6 with font {}
gdImageStringFT: Could not find/open font while printing string -0.4 with font {}
gdImageStringFT: Could not find/open font while printing string -0.2 with font {}

this is the debug output for either gif or png, it fails as soon as it tries to add the title:

set title " non-rad : rad = 0.3:0.7" font "{},10" enhanced;
set xlabel "dSST / K" textcolor rgb "#000000" font "{},10" enhanced rotate by 0.000000;

A fairly simple and obvious bug: if no font is explicitly set it is outputting octave's indication of an empty cell array instead of skipping the unnecessary font specifier and comma.

Please fix gif output.

Anonymous
Fri 26 Aug 2011 04:08:20 PM UTC, original submission:

printing to gif does not output text elements. png works correctly.

working in gnuplot directly can produce both png and gif output.

print ('oct-test.gif','-dgif')
Could not find/open font when opening font 10, trying default
gdImageStringFT: Could not find/open font while printing string -0.2 with font {}
gdImageStringFT: Could not find/open font while printing string -0.1 with font {}
gdImageStringFT: Could not find/open font while printing string 0 with font {}
gdImageStringFT: Could not find/open font while printing string 0.1 with font {}
gdImageStringFT: Could not find/open font while printing string 0.2 with font {}
gdImageStringFT: Could not find/open font while printing string 0.3 with font {}
gdImageStringFT: Could not find/open font while printing string 0.4 with font {}
gdImageStringFT: Could not find/open font while printing string 0.5 with font {}
gdImageStringFT: Could not find/open font while printing string -15 with font {}
gdImageStringFT: Could not find/open font while printing string -10 with font {}
gdImageStringFT: Could not find/open font while printing string -5 with font {}
gdImageStringFT: Could not find/open font while printing string 0 with font {}
gdImageStringFT: Could not find/open font while printing string 5 with font {}
gdImageStringFT: Could not find/open font while printing string 10 with font {}
gdImageStringFT: Could not find/open font while printing string 15 with font {}
gdImageStringFT: Could not find/open font while printing string correlation coeff with font {}

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bpabbott (Posted a comment)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 12 Sep 2011 01:57:12 AM UTCbpabbottOpen/ClosedOpen=>Closed
    Fri 02 Sep 2011 02:21:18 AM UTCbpabbottStatusNone=>Wont Fix
      Assigned toNone=>bpabbott

    Back to the top


    Powered by Savane 3.1-cleanup1