delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2015/12/22/05:44:08

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=YbJZob+6qM4Ad/j8IcF9kRRwf1ZhqJ2I9r5qh6MpE00=;
b=iAnFtvdwr/C/vkhyDA3ES7o0RFCk4LXBfhYuqmMtlYLTvDxSkUpkbJCzP5UEHwxlDg
ICOGYb7RbxN1sVRYwEjb0qA2MKYBHbcghizjkVKJoXES0BPCgMBnKm7M9LA7faF2ljFq
mkp9kXgr7s6Ohn6Cc+MxoNA54tzc8i7VS3U0qpUmQJkAJKhtFQBgnsoH7qveekKEKLiG
Og8QHknee0mX0FHtvcVn4itMTtQT1bR0MPOEyGURWptKypcje6J+PrSuNfEm5+rRUoC3
vE2q1/nWhkxMM0dvyGDciEfx+QfHtL+LmmSj8by3LnNsaHFKqyh1wCZdCZ7RSLXK9qh3
FOoQ==
MIME-Version: 1.0
X-Received: by 10.194.243.6 with SMTP id wu6mr26304071wjc.14.1450781032846;
Tue, 22 Dec 2015 02:43:52 -0800 (PST)
In-Reply-To: <170981450776219@web19o.yandex.ru>
References: <170981450776219 AT web19o DOT yandex DOT ru>
Date: Tue, 22 Dec 2015 13:43:52 +0300
Message-ID: <CAMvDHVC0soax7OF3rb1nXyxLkHHy=KJGVne7LcTAYO_13e6LYQ@mail.gmail.com>
Subject: Re: [geda-help] Cyrillic characters in gschem
From: "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com>
To: geda-help AT delorie DOT com
Reply-To: geda-help AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-help AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

I vaguely recall there were some issues with i18n before now.
However, I'm pretty sure gnetlist from geda-gaf 1.9.2 works well
:) (tried it with cyrillic symbols just now). I can only recommend
to try the following option for gnetlist:
  -c '(setlocale LC_ALL "")'

Now about postscript and fonts.

If you didn't find the document I've already mentioned, just use
something like the following command:

gschem -p -o /dev/stdout -s printall.scm 1.sch 2.sch 3.sch 2>/dev/null | \
	  sed -e 's/Helvetica/LiberationSans-Italic/' | ps2pdf - output.pdf

where the content of the script printall.scm would be as follows:

(use-modules (geda page))
(use-modules (gschem window))
(for-each
  (lambda (page) (begin
    (set-active-page! page)
    (output-type "extents no margins")
    (output-orientation "auto")
    (gschem-use-rc-values)
    (gschem-postscript "dummy")
    )
  ) (active-pages)
)
(gschem-exit)

You may want to try another font name instead of
LiberationSans-Italic.

It worked for me a few years ago.

Cheers,
  Vladimir

- Raw text -


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