www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/09/06/13:49:47

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: geda-user AT delorie DOT com
From: Peter TB Brett <peter AT peter-b DOT co DOT uk>
Subject: Re: [geda-user] schdiff and gEDA/gaf 1.9
Date: Fri, 06 Sep 2013 18:49:22 +0100
Lines: 43
Message-ID: <87y579q1r1.fsf@harrington.peter-b.co.uk>
References: <CACNnPR=iTuAXz_-De+6VFXRkJWNR1DxjDJ6LMsLT8-p-kqNpbA AT mail DOT gmail DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT ger DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: cpc4-oxfd23-2-0-cust628.4-3.cable.virginmedia.com
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
Cancel-Lock: sha1:Xgu2THT7D3ezHrM9aK45D03PmJw=
Reply-To: geda-user AT delorie DOT com

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Abhijit Kshirsagar writes:
> So I upgraded to 1.9 recently, and there seems to be something wrong
> with schdiff - the output is missing all text. I hacked around, and
> figured that now that with the excellent "gaf export" we could just
> use that in schdiff instead of the old gschem call.

Seems reasonable.

> I also find Imagemagick very painful when it displays the final image,
> so I changed it to eog for me.
> What would be a portable solution here?

Probably xdg-open, which will work on most platforms.

> Please find patch attached. Comments are welcome,

You should probably use "--size=3Dauto --margins=3Dauto" and also set --dpi
to something sensible.  I think.

If you wanted to be really fancy you could use "gaf config" to implement
a "schdiff" config group that mirrors the "export" group so that users
could configure the way that schdiff generates output. ;-)

                              Peter

=2D-=20
Dr Peter Brett <peter AT peter-b DOT co DOT uk>

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iEYEARECAAYFAlIqFaIACgkQZ7Gbq7g7vppZXwCeIH1o+NwW0cVDQ/bnrafjLjFv
hrgAn0uTQU1L2CYQ64Pnxo9eW0Nc612j
=vjdN
-----END PGP SIGNATURE-----
--=-=-=--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019