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

Re: gEDA-user: PCB nanometer git tree



On Fri, Aug 12, 2011 at 11:53:52PM +0200, Karl Hammar wrote:
> Andrew Poelstra:
> ...
> > You can now pull branch coord7 (from the same repository).
> ...
> > And I think Karl Hammar's segfault-on-doc-compile is fixed.
> > If not, please let me know!
> 
>  (Using ./autogen && ./configure --with-gui=lesstif && make clean && make)
> 
> The segfault is gone, but the missing "share" dir is still there,
> and a "rangecheck" error:
> 
> ...
>   gawk -f ./ascii2texi.awk ncol=3 wire_size.tab > wire_size.texi
>   ../src/pcb -x png --only-visible --font-path ../src --outfile pad.png pad.pcb
>   sh: /var/home/karl/Net/Hmm/git/pcb-andrew/src/../share/pcb/ListLibraryContents.sh: No such file or directory
>   Can't change working directory to
>      '/var/home/karl/Net/Hmm/git/pcb-andrew/src/../share/pcb/newlib'
> ...
>   /usr/bin/ps2pdf `gawk 'BEGIN{s=8}; /BoundingBox/ {printf("-r%d -g%dx%d", s*72, s*$4, s*$5);}' pad.eps` pad.eps pad.pdf
>   Unrecoverable error: rangecheck in .putdeviceprops
>   make[2]: *** [pad.pdf] Error 255
>   rm pad.eps
>   make[2]: Leaving directory `/var/home/karl/Net/Hmm/git/pcb-andrew/doc'
>   make[1]: *** [all-recursive] Error 1
>   make[1]: Leaving directory `/var/home/karl/Net/Hmm/git/pcb-andrew'
>   make: *** [all] Error 2
>

Cool, I see it now when compiling on a 32-bit system. It is
caused by the BoundingBox attribute of the .eps files, which
is written in 1/72".

To do this, the code multiplies by 72 and then outputs in inches
-- as you can imagine, storing 72 or 144 inches in nanometers
causes overflows!

Fixed in pcb-andrew/coord7.
 
-- 
Andrew Poelstra
Email: asp11 at sfu.ca OR apoelstra at wpsoftware.net
Web:   http://www.wpsoftware.net/andrew/



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user