www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/06/18/12:36:29

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=sbcglobal.net; s=s1024; t=1371573283; bh=n5ScLuW4lPPzS+CECQWHm33BA9+QoWYmQjgaXG6x7pY=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:References:Mime-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding:Message-Id:Cc:X-Mailer:From:Subject:Date:To; b=nHKS9Dvk3TvhG9/enU1zk7o0Je99nal1vCG8Y9sOQI3xBjpJi07OY6viEZMgQN3TBt1JiaTyeJU25METx6CaXh5tihcf/vOG/73lAZaRq8g1FD6s2YyJ/Lk3UDKi/MORQCU/qjW+LZc4CTSRC37wNeUeUDvUZDK0s9Wl3Ak9/yw=
X-Yahoo-Newman-Id: 443531 DOT 52247 DOT bm AT smtp114 DOT sbc DOT mail DOT ne1 DOT yahoo DOT com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: 6n6QvnkVM1l1C2oYdxXQR447fcQ8x8eB7ipdI5G7dwfS8YG
oa9XtxiKbOLTTcMgZGGPu7fDzfsE5vzANOGtxYccQ4EvSV0xSwkzE4mwdjSI
4.G5rxC4hyKAQsKZsZjK7xO.qNHVDcW_puVopT5roX1KuPFXOgeD816PhJGQ
_xGsHB9jQUyyXDYCBthK_veyJ7.INPcv_ii8U4.Qv_E6JK8pdfBTmOeQ6Cf6
TwJ_bX7TsZPDUCwouH_48VTIOyXnkFYrNW1EBazZUjSS7OtR425XoPkuGaTo
ksg8gqjEkxH8PphyufuwVNQbl41EWwT2O7TLUt3YqO0eaiovaCd.wwx2mUs9
t0T.eee59I2lQZAwCZtXBdWFBmmwDL0TJdEvP8zLvb86GVMOeE86dn9vKQwn
UBKyDZttTRZrboeCkquHbRK5_fbQYowjDNL7dG_jEQl.CsrmTwMfOx21egKR
nQ0MTp.GvzC6uR_B3.P6IeiVcST4141e3N5yZUUq5DO5ZdlvrAjgVTrqo4IG
XDh3LdwonGW_uxXQn
X-Yahoo-SMTP: b8jVkbOswBAqZ4BhECp7nxPJUfTGEnEGv_G4qgQeZMeAbA--
X-Rocket-Received: from [10.92.111.203] (ehennes AT 166 DOT 147 DOT 109 DOT 112 with plain)
by smtp114.sbc.mail.ne1.yahoo.com with SMTP; 18 Jun 2013 09:34:43 -0700 PDT
References: <51BE355E DOT 5040600 AT sonic DOT net> <51BE73B7 DOT 4020905 AT sonic DOT net> <alpine DOT DEB DOT 2 DOT 10 DOT 1306181147510 DOT 4029 AT home DOT local>
Mime-Version: 1.0 (1.0)
In-Reply-To: <alpine.DEB.2.10.1306181147510.4029@home.local>
Message-Id: <F733856C-0C12-43D8-85BC-AC166BEA3E31@sbcglobal.net>
Cc: "geda-user AT delorie DOT com" <geda-user AT delorie DOT com>
X-Mailer: iPhone Mail (10B329)
From: Edward Hennessy <ehennes AT sbcglobal DOT net>
Subject: Re: [geda-user] gschem text measure
Date: Tue, 18 Jun 2013 09:34:38 -0700
To: "geda-user AT delorie DOT com" <geda-user AT delorie DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r5IGYmeq015299
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

Sent from my iPhone

On Jun 18, 2013, at 3:17 AM, Roland Lutz <rlutz AT hedmen DOT org> wrote:

> In my opinion, the way text measurements are handled in gEDA is somewhat broken.

I would like to see the behavior centering text vertically in gschem changed. Right now, it uses a function of the inked rectangle. So, when centering the words "hello" and "goodbye" vertically, each winds up with a different y coordinate for the baseline, because of the descenders.

I would rather text was centered between the baseline of the bottom row of text and the cap height of the top row of text. This way, the baseline of text would be centered vertically, on a pin for example, regardless of wether the text contains descenders or not.

The only way I know to obtain the cap height is to measure it. For example, measuring the inked rectangle from a capital letter with a flat top, like H or I.

Does anyone else have thoughts on centering text vertically?

Ed

- Raw text -


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