From: Axel S. <A....@ke...> - 2007-05-23 10:23:30
|
John, On Tue, 2007-05-22 at 12:12 -0700, John Velman wrote: > I guess I based this on to fast a reading of things I didn't understand. > It seems gtk2hs imports, but doesn't export SVG. With Cairo, you can definitely produce SVG. And as Duncan has pointed out, in the next release you will be able to use the PS/PDF backend. With respect to real printing, we could give it a go, but Duncan's apiGen tool (which saves us a lot of work when adding a new module) can't currently do the printing modules and, thus, we'd have to do that all by hand. I could offer to bind a rudimentary printing functionality for the next minor release. Axel. > Best, > > John Velman > > On Tue, May 22, 2007 at 09:33:03AM -0700, John Velman wrote: > > I used gtk2hs a couple years ago to develop a small program for drawing > > simple "affinity sets" and concept maps. (More info forthcoming if anyone > > cares.) It worked fine as far as it went, but since there was no printing > > available, I shelved the whole thing. Lots of interruptions in the > > meantime. This month I finally got back to upgrading my GHC and my Gtk2hs > > (to 0.9.11) and find that there is still no printing! > > > > Before I get carried away trying to learn new things, how about this for an > > approach: > > > > translate my drawing operations to Cairo (probably not simple), > > > > export as Svg. > > > > Use Inkscape to transform to PostScript. > > > > Or, wait till someone else implements PS/PDF cairo backends or Gtk drawing! > > > > By the way, I was able to update my program to the API with little trouble. > > Except for lack of printing, Gtk2Hs is great. > > > > Thanks, > > > > John Velman > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Gtk2hs-users mailing list > > Gtk...@li... > > https://lists.sourceforge.net/lists/listinfo/gtk2hs-users > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gtk2hs-users mailing list > Gtk...@li... > https://lists.sourceforge.net/lists/listinfo/gtk2hs-users |