delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/09/23/02:44:54

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=date:from:to:subject:message-id:mail-followup-to:references
:mime-version:content-type:content-disposition:in-reply-to
:user-agent;
bh=TODUkLOnzQ00DZ/l8shP3qO10DFjDGXi6/wbXsRin5I=;
b=tvdQgFyMUC3RkaLayFunpFm7TuhbF4PVnR4x8uZbnlRa2hy2f7330YVN1DKyqYxLU4
t9JyQzTuzZ4Reb8GcPKPuqjqPC4AVLWuaDFTm7EVxarkt0g1g6j7wRUOo81RDlitRGeF
srL5/KCEof5V5SDL2tdtK/TWBvKkiNRi0GWz4hXiBs/OXGdD6uzDh11CX3OYUkjO5bFi
u3vqWVNma44ABo9yRmT/4JROhq6eXJRowogTD+JOeEnrO0Co4xhviMtX17WWSKSXRwZ9
RAQjkkbjw6J2x6OEPBsmE3E0LEpbR1C11ocNv8kS9ln9Hz4x85FYJbOEf5ZQ/b2m7llj
fFqA==
Date: Sun, 23 Sep 2012 10:43:44 +0400
From: Vladimir Zhbanov <vzhbanov AT gmail DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Adjusting the Size of Junction Circles and Printing
UTF-8 Characters in gschem
Message-ID: <20120923064344.GA2816@localhost.localdomain>
Mail-Followup-To: geda-user AT delorie DOT com
References: <505E2B06 DOT 4040004 AT innocent DOT com>
MIME-Version: 1.0
In-Reply-To: <505E2B06.4040004@innocent.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
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

On Sat, Sep 22, 2012 at 05:17:58PM -0400, Gus Fantanas wrote:
...
> 1.  In light background (e.g. print) the filled circles of junctions look kind of small.  Is there any way I can make them bigger?  I looked at all configuration files and consulted the wiki, but found nothing about the size of junction circles.

After some investigating I found that it is fixed and predefined in
libgeda/include/libgeda/defines.h in the gaf sources. You can change
the variable JUNCTION_CUE_SIZE_NET there to achieve your goal. This is
probably the simplest way to do it because there is no special
configuration variable to change the junction size. The difference in
size between printed and displayed junction cues was intentional, AIUI
after reading 'git log' and NEWS in the sources.

> 2.  (I asked a similar question before.)  gschem displays UTF-8 characters faithfully, but does not print them.  I do not understand how that can happen.  Does gschem use different character sets for displaying vs. printing?  Currently, the UTF-8 characters are just skipped on the printed output.  I would like to be able to print them.
The problem is outside of gschem. X fonts and printing fonts are
different and usually the printing system (ghostscript) tries to find
appropriate fonts for printing which would correspond to screen fonts.
Under some conditions (e.g. if you haven't the corresponding printing
font) your screen output and your postscript output would differ. OTOH,
the printing fonts usually contain the strict set of font symbols, and
some UTF symbols may not be presented there. There are two ways to solve
this issue. The first way is to try to change your used font in
outputted postscript file and see the result in some previewing program.
You can use this way constantly, but there is another way. If you have
found what font is appropriate for you, you can write its name to the
libgeda/src/f_print.c in the gaf sources. Look for Helvetica there and
change it to another name. The first way is simple, I use the following
command in Makefile to change outputted ps files:
  sed -i 's/Helvetica/${font}/' $(postscripts)
where my preferred font is LiberationSans-Italic.
In general, you need to find a font which meets your requirements and
use it.

-- 
http://vzhbanov.byethost33.com

- Raw text -


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