delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
X-Mailer: | exmh version 2.8.0 04/21/2012 with nmh-1.6 |
X-Exmh-Isig-CompType: | repl |
X-Exmh-Isig-Folder: | inbox |
From: | karl AT aspodata DOT se |
To: | geda-user AT delorie DOT com |
Subject: | Re: [geda-user] gschem PostScript print-to-file output failing |
In-reply-to: | <CAHUm0tO+JHz8T471d19q2dWeybxSVeaatYymtNx7c1TeKSGk=A@mail.gmail.com> |
References: | <a3d5103b-dd29-94f9-d6a6-f09a88132bc9 AT fastmail DOT com> <CAHUm0tO+JHz8T471d19q2dWeybxSVeaatYymtNx7c1TeKSGk=A AT mail DOT gmail DOT com> |
Comments: | In-reply-to "Erich Heinzle (a1039181 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
message dated "Fri, 01 Nov 2019 11:36:20 +1030." | |
Mime-Version: | 1.0 |
Message-Id: | <20191101025313.24BAB89F2DDE@turkos.aspodata.se> |
Date: | Fri, 1 Nov 2019 03:53:13 +0100 (CET) |
X-Virus-Scanned: | ClamAV using ClamSMTP |
Reply-To: | geda-user AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | geda-user AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
Erich: > 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. ... Inkscape has a policy file /etc/ImageMagick-7/policy.xml (or some other number). It has lines like: # grep PS /etc/ImageMagick-7/policy.xml <policy domain="coder" rights="none" pattern="PS" /> ... which tells it to not allow ps, etc., files. If you create a file like: $ cat ~/.config/ImageMagick/policy.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE policymap [ <!ELEMENT policymap (policy)+> <!ATTLIST policymap xmlns CDATA #FIXED ''> <!ELEMENT policy EMPTY> <!ATTLIST policy xmlns CDATA #FIXED '' domain NMTOKEN #REQUIRED name NMTOKEN #IMPLIED pattern CDATA #IMPLIED rights NMTOKEN #IMPLIED stealth NMTOKEN #IMPLIED value CDATA #IMPLIED> ]> <policymap> <policy domain="coder" rights="read|write" pattern="PS" /> <policy domain="coder" rights="read|write" pattern="PS2" /> <policy domain="coder" rights="read|write" pattern="PS3" /> <policy domain="coder" rights="read|write" pattern="EPS" /> <policy domain="coder" rights="read|write" pattern="PDF" /> <policy domain="coder" rights="read|write" pattern="XPS" /> </policymap> imagemagick will work on postscript files again. Make sure you have Ghostscript version 9.24 or later: https://www.kb.cert.org/vuls/id/332928/ Regards, /Karl Hammar
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |