delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2020/09/02/18:00:48

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
Date: Wed, 2 Sep 2020 23:45:18 +0200 (CEST)
From: Roland Lutz <rlutz AT hedmen DOT org>
To: "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com>
Subject: Re: [geda-help] Shifting Text
In-Reply-To: <20200902171255.GC2911@newvzh.lokolhoz>
Message-ID: <alpine.DEB.2.21.2009022322360.1252@nimbus>
References: <CAMw9acAo7Q_ztEDTjbaUr7zdeoOJThA7ijx1EsvNTd46e5oYRw AT mail DOT gmail DOT com> <CAMw9acA_aygsy3GMYrOSC8YDBS2TfOafeX_ZSJMbKop-_wgj2A AT mail DOT gmail DOT com> <b0b8dd4d-f94a-3101-6826-160be7555add AT yahoo DOT com> <8ca87b95-6b3c-0832-e98a-7d9e743fe7ff AT yahoo DOT com>
<alpine DOT DEB DOT 2 DOT 21 DOT 2009010003190 DOT 4251 AT nimbus> <396df3f1-e447-b5ac-6120-4b96acbcb542 AT yahoo DOT com> <alpine DOT DEB DOT 2 DOT 21 DOT 2009021444450 DOT 14655 AT nimbus> <alpine DOT DEB DOT 2 DOT 21 DOT 2009021529470 DOT 15983 AT nimbus> <3b3b883a-f334-b9c6-eb2e-d49c86fa14fd AT yahoo DOT com>
<20200902171255 DOT GC2911 AT newvzh DOT lokolhoz>
User-Agent: Alpine 2.21 (DEB 202 2017-01-01)
MIME-Version: 1.0
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

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--8323329-337776202-1599083118=:1252
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8BIT

On Wed, Sep 02, 2020 at 10:48:31AM -0400, Glen W. Ruch (gw DOT ruch AT yahoo DOT com) 
[via geda-help AT delorie DOT com] wrote:
> [ruchg AT localhost ~]$ dnf list installed | grep pango
> […] 1.44.7-2.fc32 […]

I see.  From version 1.44 on, Pango switched from FreeType to HarfBuzz for 
font rendering, which is causing a lot of issues.  I assume this is one of 
them.

> If you want me to compile, it will take me some time to find the source 
> and download.?? - - - assuming I find all the dependencies etc.

This would be really helpful.  Debian has `apt-get build-dep geda-gaf' to 
install all build dependencies for geda-gaf; I assume Fedora has a similar 
feature.  I can't reproduce the bug on my machine, so I need feedback from 
someone who can in order to see if the metric cache is actually what's 
causing the issue.


On Wed, 2 Sep 2020, Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via 
geda-help AT delorie DOT com] wrote:
> The rendering issues have been introduced in the new version of 
> Pango---1.44.  We've have been already fixed many of them in Lepton 
> 1.9.11 (Lepton is a fork of 'geda-gaf').

I had a look at these fixes.  If I understand it correctly, you ditched 
baseline alignment completely and use the "logical" text boundaries for 
text alignment which introduces a large gap between the text and the 
anchor point for both "lower" and "upper" alignment.

As a rationale, you wrote in the commit message that "the 
'pango_font_metrics*()' functions […] were considered unstable and we used 
them at our own risk".  Do you have any reference for this?

--8323329-337776202-1599083118=:1252--

- Raw text -


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