[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: gschem: problems with generated postscript



Hi Karel,

On Saturday 17 September 2005 08:35, Karel Kulhavy wrote:
> A4 page size is 210x297mm. However when I generate colour schematic,

A4 size is defined in the gschemrc file as (11.69,8.27) inches.
Multiplied with 25.38 mm/inch it is (296.69,209.89) mm.

> gschem draws background box
> 0 0 0 setrgbcolor
> 0 0 moveto
> 595 0 rlineto 0 841.9083255 rlineto -595 0 rlineto
> closepath fill
>
> which is only 296.67957mm tall instead of 297.

[...]
> When I change 841 to 841.9083255 in the postscript, everything is
> fine.

Maybe you can increase the papersize in the resource file to
(11.71, 8.28) inches which is (297.20, 210.15) mm.

Karel, can you try that and let us know whether it works?

regards
Werner