delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/06/28/19:46:27

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Message-ID: <1372462999.6888.10.camel@AMD64X2.fritz.box>
Subject: Re: [geda-user] gschem cairo text measure
From: Stefan Salewski <mail AT ssalewski DOT de>
To: geda-user AT delorie DOT com
Cc: Edward Hennessy <ehennes AT sbcglobal DOT net>
Date: Sat, 29 Jun 2013 01:43:19 +0200
In-Reply-To: <51CE04B2.3090300@sonic.net>
References: <51CCD179 DOT 7010903 AT sonic DOT net>
<1E0F5AC4-88AB-4CCF-ABE3-439DBE79B907 AT sbcglobal DOT net>
<51CE04B2 DOT 3090300 AT sonic DOT net>
X-Mailer: Evolution 3.6.4
Mime-Version: 1.0
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 Fri, 2013-06-28 at 14:48 -0700, Dave Curtis wrote:

> it's good.  There is one place where the text length is critical to 
> getting text centered correctly, but again, my magic number seems close 
> enough for now.
> 
> I wish I understood why the magic number that I found works, but I'll 
> leave that mystery for now, and try to wrap up a couple of other more 
> pressing issues so that my symbol generator is ready for a public push.
> 
> -dave
> 

You may note that gschem already supports centered text, see

http://wiki.geda-project.org/geda:file_format_spec#text_and_attributes

If gschem's centering is not perfect, it may be better to fix gschem.
Indeed, gschem uses cairo, and I think cairo supports centered text, so
all should be fine. The problem may be Peter C.'s compatibility hacks --
I have never understood why we need that. And my personal opinion to
text size: I like user selected fonts, shape and size -- of course size
has an upper boundary by available space.

- Raw text -


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