Mail Archives: geda-user/2019/10/31/19:57:07
Girvin Herr:
...
> pstoedit: version 3.70 / DLL interface 108 (built: Oct 30 2019 - release
> build - g++ 5.3.0 - 32-bit) : Copyright (C) 1993 - 2014 Wolfgang Glunz
> %%[ Error handled by opdfread.ps : undefined; OffendingCommand: findfont ]%%
> GPL Ghostscript 9.26: Unrecoverable error, exit code 1
> PostScript/PDF Interpreter finished. Return status 256 executed command
> : /usr/bin/gs -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY -dNOEPS
> "/tmp/psinyEOi33"
> The interpreter seems to have failed, cannot proceed !
>
> ------
>
> It looks like maybe "findfont" was a PostScript key word or function at
> one time, but now GhostScript is no longer supporting it. I am not a
> Postscript guru.
findfont is part of postscript, see page 535 (521 as numberd) in:
https://www-cdf.fnal.gov/offline/PostScript/PLRM3.pdf
or chapter 5 (Fonts) for an overview.
It is possible that pstoedit has redefined it.
To test the findfont, create a file with:
/Times-Roman findfont 20 scalefont setfont
72 500 moveto (A test) show
showpage
and view it in gv (or ghostscript).
Then use pstoedit to converit it to dxf.
Here is a simple testfile with lines:
$ cat linjer.ps
%A4: 210 297mm
%72 per tum, 72/25.4 per mm
/a 72 25.4 div def
a a scale
0.1 setlinewidth
10 5 290 { 10 exch moveto 190 0 rlineto stroke } for
showpage
Try to see what happens when you convert it to dxf.
> Two questions:
>
> 1. Is this problem known and is there a work-around?
Don't know.
> 2. Is there another gschem process I can use to get a workable
> PostScript, Encapsulated PostScript, or DXF-directly output file
> which I can import into QCAD?
To make ps files, I use the following makefile lines:
GAF := lepton-cli # lepton fork
#GAF := gaf # gEDA suite
%_a4.ps: %.sch
$(GAF) export -m 0:0:0:0 -p iso_a4 -o $@ $<
%_a3.ps: %.sch
$(GAF) export -m 0:0:0:0 -p iso_a3 -o $@ $<
%.sch.ps: %.sch
$(GAF) export -f ps -o $@ $<
I tested out a few ways to convert to dxf for a collegue and forgot
about it afterwords, so I cannot help with that part.
Unfortenately, my pstoedit doesn't seem to have a dxf converter.
Regards,
/Karl Hammar
- Raw text -