export dialog (was: gEDA-dev: gEDA/gaf release plans)

Wojciech Kazubski wk at ire.pw.edu.pl
Thu Apr 26 12:21:01 EDT 2007


Dnia środa, 25 kwietnia 2007, Carlos Nieves Ónega napisał:
> El mié, 25-04-2007 a las 12:55 +0100, Peter TB Brett escribió:
> > > I woud like to have an ability to export EPS from gschem. Most of the
> > > code for this could be reused from printing routine. The resulting
> > > picture should be natural size (not scaled to fit a paper) and not
> > > rotated. The size of picture should be based on schematic size. I have
> > > some idea how to do this.
> > >
> > > What would be better: to have another screen dialog or try to integrate
> > > it with existing one (Print or PNG export)?
> >
> > It would be best to extend the PNG export dialog to be a generic
> > "graphics export" dialog, I think.
>
> The export dialog was changed on 2007-02-22. ChangeLog:
>
>         * lib/system-gschemrc.in : Changed the title of the save image
>           dialog from "Write PNG..." to "Write image...", since gschem
> can
>           now support more types than PNG.
>
>         * include/prototype.h, src/g_funcs.c, src/i_callbacks.c,
>           src/x_image.c:
>           Changed the export image dialog by a new one using a GTK
>           file chooser dialog with image size and image type drop-down
>           lists.
>           If compiled without libgd support (therefore using
> libgdk-pixbuf),
>           gschem will support several image types (like PNG, JPEG and
> ICO).
>
> If you compile libgeda and gschem without LIBGD support (default option
> now), gschem will use gtk-pixbuf, and it can support all formats
> supported by GTK (at that time they were PNG, JPEG and ICO).
>
> If you want to support more types, I'd suggest to add them to gdk-pixbuf
> and gschem will support it automatically.
>
> Regards,
>
> Carlos
>
So, I have to downoad latest CVS.
Some time (and releases) ago I did some tests with EPS export, but it was with 
separate dialog window.
Thanks for info.

Wojciech Kazubski


More information about the geda-dev mailing list