Forum: Ruby-Gnome 2 PrintOperation don't show my complete strings

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
A715c965085cb9ce4a2a3605dc9aeae9?d=identicon&s=25 Emanuel Botelho (abdias)
on 2015-01-06 13:01
Hi. Basically I have a big string with 20 lines and I get an array using
string.split "\n". So I'm trying to print my array using
Gtk::PrintOperation. Everything is going fine, but for some reason when
a line have a bigger length, the line is not printed.

If I use puts(line) at the time that will be printed by PrintOperation,
seems normally. But is normally only at the default output.

Here is my code. He's inside a Gtk::Window class.

http://codepad.org/lzHdBn8p

Anyone can help me?
This topic is locked and can not be replied to.