Mail Archives: geda-user/2019/10/31/21:28:04
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f
|
X-Recipient: | geda-user AT delorie DOT com
|
X-Original-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed;
|
| d=gmail.com; s=20161025;
|
| h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
|
| bh=vcRjqI0GvvXv7dEcadzkusZ2Gb+MwcI2Z5X8PZPqXP8=;
|
| b=VIRq8MY5xdYeUCFJdHQ/H6NEeKzsZnh+/AouBJJbtupMHsmgBK3TCex4Wdz/KLHkhT
|
| SWAGrBXOdOKKDRXkT1IGZoUHLV3qynOxmyYOFP/9PVIdAHym8x5JCtLGbyzHE6BD8LYX
|
| 8oRl53mkInnnxVBQYaOK+tkHDTY+FN1E9nHUNt3xGQ1QqoXX7ZOuidVLw3kIfkm6rbPe
|
| AsU9Gy3YdnA55r0tucVDVskV1dqXPuS/tLfEqP/C0Zoi7t/835RgsRDX7JxwLMXxK1LY
|
| yEjqte1BYxIy0hHPizxZcUUxyPiDt3vBglqGJiii8Y1iEAr5aLbGMSalXiUUOwJ+GiUy
|
| bP5A==
|
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed;
|
| d=1e100.net; s=20161025;
|
| h=x-gm-message-state:mime-version:references:in-reply-to:from:date
|
| :message-id:subject:to;
|
| bh=vcRjqI0GvvXv7dEcadzkusZ2Gb+MwcI2Z5X8PZPqXP8=;
|
| b=QjTzMETj68kzyg+uTD+xqDQRDiUmBIV+dqPYVZ25Z5NVJqHDeYdfkutLwnAAJE6nSN
|
| doigRElaGlHLiTR/Tzw8q3uY5PAPifPzWkCFRy1mvDrYy+aFuAx5Dz5WK3o+D3G72Bca
|
| CI2jZiGUCQ6c2tfKCB4rBo9MZuGGPOG68pZbmyAkvbQUG/YcxBbEu1ffV/M2JXX/Ypf/
|
| EoIjUqNW0OEe0qoUuSl3iUHP585675KN7vW3cS//7tJJ90+2Oaa2p28A3/pa9LBuux72
|
| I0v8zOI2eFytoGJwZE/bEOJSX9N0jRZMD/tPKRc7nAV8n2nJZScjJ72ZlM8/C/B353T5
|
| 0o8Q==
|
X-Gm-Message-State: | APjAAAXc/J0jaSHmeFf5Ad2Yz7vj6uyB6cXvsAQd5oyEtkORjupQ6qKM
|
| Lxuqmcer9EMy4f/GzeydfrOQqB/OjFrfZm/UrOB04A==
|
X-Google-Smtp-Source: | APXvYqwHdYbEka+xkoSLxPf8YdY883v0Ai2qdcyARd+28vcCBvvh2wOa7l65OMXV2oU5VZrM3lTU4QRzr7ofKqttQDQ=
|
X-Received: | by 2002:a81:320f:: with SMTP id y15mr6357218ywy.171.1572570393304;
|
| Thu, 31 Oct 2019 18:06:33 -0700 (PDT)
|
MIME-Version: | 1.0
|
References: | <a3d5103b-dd29-94f9-d6a6-f09a88132bc9 AT fastmail DOT com>
|
In-Reply-To: | <a3d5103b-dd29-94f9-d6a6-f09a88132bc9@fastmail.com>
|
From: | "Erich Heinzle (a1039181 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
|
Date: | Fri, 1 Nov 2019 11:36:20 +1030
|
Message-ID: | <CAHUm0tO+JHz8T471d19q2dWeybxSVeaatYymtNx7c1TeKSGk=A@mail.gmail.com>
|
Subject: | Re: [geda-user] gschem PostScript print-to-file output failing
|
To: | geda-user <geda-user AT delorie DOT com>
|
Reply-To: | geda-user AT delorie DOT com
|
--000000000000ad62ba05963e9361
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Inkscape may be worth looking at. It can export hpgl, svg and dxf, among
other things. The trick is to figure out if it will cope with eps or ps
files as input.
Regards,
Erich
On Fri, 1 Nov 2019 06:29 Girvin Herr (gherrl AT fastmail DOT com) [via
geda-user AT delorie DOT com], <geda-user AT delorie DOT com> wrote:
> Greetings,
>
> I am using gEDA gschem 1.8.2 (g875406c) and GhostScript 9.26 on Slackware
> Linux 14.2.
>
> What I am trying to do is export my gschem drawing and import it into
> QCAD. I "printed" the drawing to a PostScript file and tried to use
> pstoedit to convert the PostScript file to a DXF file which QCAD will
> import. This has worked well on a PCB eps exported file. In fact I tested
> it today and it still is working. However, pstoedit seems to fail. Rather=
,
> it seems to be GhostScript that is failing when it encounters a "findfont=
"
> name in the gschem PostScript file. I am pretty sure this process worked
> for me in the past (years ago) when I had to convert a gschem drawing to =
a
> DXF file. Something since then has changed and I expect that to have been
> GhostScript, since it has been updated twice since I may have used it. Th=
e
> gs versions I have had installed in the past are 9.19, 9.25, and now 9.26=
.
> According to my research on pstoedit, the pstoedit failures started with
> the 9.2x series, if that helps.
>
> My pstoedit command is:
>
> pstoedit -f dxf -xscale 1.0 -yscale 1.0 gschem_file_name.ps
> gschem_file_name.ps.dxf
>
> Here is the output of pstoedit:
>
> ------
>
> 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: in
> /undefined/findfontgEDAFont--nostringval--Helvetica%interp_exit.runexec2-=
-nostringval--.findfontop--nostringval--2%stopped_push-
> Operand stack:
>
> Execution stack:
>
> -nostringval--.findfontop.findfontopfalse1%stopped_push204513%oparray_pop=
204413%oparray_pop202413%oparray_pop188413%oparray_pop--nostringval--%error=
exec_pop.runexec2--nostringval--.findfontop--nostringval--2%stopped_push--n=
ostringval--204513%oparray_pop204413%oparray_pop202413%oparray_pop188413%op=
array_pop--nostringval--%errorexec_pop.runexec2--nostringval--.findfontop--=
nostringval
>
> Dictionary stack:
> --dict:/(ro)(G)-- --dict:/(G)-- --dict:/(L)--
> Current allocation mode is local
> Current file position is
> --2%stopped_push--nostringval--.findfontop.findfontop197533%oparray_pop96=
6168402033345012792GPL
> 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/psinACg2Dl"
> The interpreter seems to have failed, cannot proceed !
>
> -----
>
> I then converted the gschem ps file to eps with eps2eps and then used
> pstoedit on it, with the following response:
>
> ------
>
> 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.
>
> Two questions:
>
> 1. Is this problem known and is there a work-around?
>
> 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?
>
> Thanks.
>
> Girvin Herr
>
>
>
>
--000000000000ad62ba05963e9361
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"auto">Inkscape may be worth looking at. It can export hpgl, svg=
and dxf, among other things. The trick is to figure out if it will cope wi=
th eps or ps files as input.<div dir=3D"auto"><br></div><div dir=3D"auto">R=
egards,</div><div dir=3D"auto"><br></div><div dir=3D"auto">Erich</div></div=
><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fr=
i, 1 Nov 2019 06:29 Girvin Herr (<a href=3D"mailto:gherrl AT fastmail DOT com">ghe=
rrl AT fastmail DOT com</a>) [via <a href=3D"mailto:geda-user AT delorie DOT com">geda-us=
er AT delorie DOT com</a>], <<a href=3D"mailto:geda-user AT delorie DOT com">geda-user=
@delorie.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
=20
=20
=20
<div text=3D"#000000" bgcolor=3D"#FFFFFF">
<p>Greetings,</p>
<p>I am using gEDA gschem 1.8.2 (g875406c) and GhostScript 9.26 on
Slackware Linux 14.2.</p>
<p>What I am trying to do is export my gschem drawing and import it
into QCAD. I "printed" the drawing to a PostScript file and=
tried
to use pstoedit to convert the PostScript file to a DXF file which
QCAD will import. This has worked well on a PCB eps exported file.
In fact I tested it today and it still is working. However,
pstoedit seems to fail. Rather, it seems to be GhostScript that is
failing when it encounters a "findfont" name in the gschem
PostScript file. I am pretty sure this process worked for me in
the past (years ago) when I had to convert a gschem drawing to a
DXF file. Something since then has changed and I expect that to
have been GhostScript, since it has been updated twice since I may
have used it. The gs versions I have had installed in the past are
9.19, 9.25, and now 9.26. According to my research on pstoedit,
the pstoedit failures started with the 9.2x series, if that helps.<br=
>
</p>
<p>My pstoedit command is:</p>
<p>=C2=A0=C2=A0=C2=A0 pstoedit -f dxf -xscale 1.0 -yscale 1.0=C2=A0 <a =
href=3D"http://gschem_file_name.ps" target=3D"_blank" rel=3D"noreferrer">gs=
chem_file_name.ps</a>=C2=A0
gschem_file_name.ps.dxf<br>
</p>
<p>Here is the output of pstoedit:</p>
<p>------<br>
</p>
<p>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<br>
Error:=C2=A0 in
/undefined/findfontgEDAFont--nostringval--Helvetica%interp_exit.runexec2--n=
ostringval--.findfontop--nostringval--2%stopped_push-<br>
Operand stack:<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <br>
Execution stack:<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
-nostringval--.findfontop.findfontopfalse1%stopped_push204513%oparray_pop20=
4413%oparray_pop202413%oparray_pop188413%oparray_pop--nostringval--%errorex=
ec_pop.runexec2--nostringval--.findfontop--nostringval--2%stopped_push--nos=
tringval--204513%oparray_pop204413%oparray_pop202413%oparray_pop188413%opar=
ray_pop--nostringval--%errorexec_pop.runexec2--nostringval--.findfontop--no=
stringval=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
<br>
Dictionary stack:<br>
=C2=A0=C2=A0 --dict:/(ro)(G)--=C2=A0=C2=A0 --dict:/(G)--=C2=A0=C2=A0 =
--dict:/(L)--<br>
Current allocation mode is local<br>
Current file position is <br>
--2%stopped_push--nostringval--.findfontop.findfontop197533%oparray_pop9661=
68402033345012792GPL
Ghostscript 9.26: Unrecoverable error, exit code 1<br>
PostScript/PDF Interpreter finished. Return status 256 executed
command : /usr/bin/gs -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY
-dNOEPS "/tmp/psinACg2Dl"<br>
The interpreter seems to have failed, cannot proceed !<br>
</p>
<p>-----</p>
<p>I then converted the gschem ps file to eps with eps2eps and then
used pstoedit on it, with the following response:</p>
<p>------</p>
<p>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<br>
%%[ Error handled by <a href=3D"http://opdfread.ps" target=3D"_blank"=
rel=3D"noreferrer">opdfread.ps</a> : undefined; OffendingCommand:
findfont ]%%<br>
GPL Ghostscript 9.26: Unrecoverable error, exit code 1<br>
PostScript/PDF Interpreter finished. Return status 256 executed
command : /usr/bin/gs -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY
-dNOEPS "/tmp/psinyEOi33"<br>
The interpreter seems to have failed, cannot proceed !<br>
<br>
------<br>
</p>
<p>It looks like maybe "findfont" was a PostScript key word o=
r
function at one time, but now GhostScript is no longer supporting
it. I am not a Postscript guru.<br>
</p>
<p>Two questions:<br>
</p>
<ol>
<li>Is this problem known and is there a work-around?<br>
<br>
</li>
<li>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?<br>
</li>
</ol>
Thanks.<br>
<p>Girvin Herr</p>
<p><br>
</p>
<p><br>
</p>
</div>
</blockquote></div>
--000000000000ad62ba05963e9361--
- Raw text -