[cairo] ruby cairo bindings bug

SteveC steve at fractalus.com
Sun Sep 4 13:30:12 PDT 2005


Hello,

set_target_png wants a File to write to which is annoying. It won't take
a StringIO, fails with a type error.

I tried giving it IO.new(1, 'w') or just STDOUT and it never writes
anything.

Is there some other way of writing to stdout (eg because I'm writing a
cgi script and saving to a file, opening it up again, reading the
contents and writing them to stdout is hacky), or is this a bug?

TIA

have fun,

SteveC steve at fractalus.com http://www.fractalus.com/steve/


More information about the cairo mailing list