Mail Archives: geda-help/2017/02/19/06:58:28
Vladimir:
...
> > If I do the obvious thing:
> >
> > gaf export -f ps -p iso_a4 -m 0 -o tt.ps tt.sch
> >
> > I get a postscript file which shows fine in gv but at printout, the
> > content is rotated 90degrees relative the paper.
>
> I have also stumbled upon the fact that different programs show
> postscript/pdf files differently. Ghostscript is a preprocessing
> program in Linux which outputs files to printer drivers (AFAICR),
> so you can use it to see your page orientation before printing.
>
> gs file.ps
That also gives me the wrong pickture.
> There are various scripts in the ghostscript distribution that can
> help to get what you want. Probably in your case it is simplest to
> use ghostscript itself to change page orientation. The
> work-around command is:
>
> gs -o x.ps -sDEVICE=pswrite -c '<</Orientation 1>> setpagedevice' -f tt.ps
Thanks, but I already tried that.
I also tried pstops '0L(210mm,00mm)' tt.ps x.ps, which would work, but
gaf export seems to add a clipping region.
...
> > The problem does not appear when then schematics rotated in gschem,
> > i.e. when the in gschem view on screen is "portrait".
> >
> > Now, is this a bug in the cairo postscript routines or have I called
> > gaf export in the wrong way ?
>
> It's probably a bug. I'm not certain.
Yes, it's probably a bug, since the pdf export works as expected.
I'll investigate further, but not here on -help.
Thank you for your time though.
Regards,
/Karl Hammar
-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57
- Raw text -