octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #31468] multi-line text objects


From: Vanya Sergeev
Subject: [Octave-bug-tracker] [bug #31468] multi-line text objects
Date: Sat, 13 Aug 2011 00:55:54 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1

Follow-up Comment #28, bug #31468 (project octave):

It turns out gl2psTextOpt() (used for opengl plot printing) does not account
for newline characters "n", "r", or "rn".


octave:1> graphics_toolkit("fltk")
octave:2> plot([1,2,3,4,5])
octave:3> set(get(gca(), "title"), "string", "abcndef")
octave:4> print("test1.png", "-dpng")
octave:5> set(get(gca(), "title"), "string", "abcrdef")
octave:6> print("test2.png", "-dpng")
octave:7> set(get(gca(), "title"), "string", "abcrndef")
octave:8> print("test3.png", "-dpng")


All plots come out with "abc def" on one line...

Perhaps gl2psDrawPixels() ( http://geuz.org/gl2ps/#tth_sEc2.3 ) should be used
instead of gl2psTextOpt() with the pixel array generated by the ft_render
class, to support multi-lines in the gl2ps prints?

Thanks,
~vsergeev

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31468>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]