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=yahoo.com; s=s2048; t=1599094642; bh=tlaJBxTyEYYY5bqkJ6uvDOJZZi8eVWxQX5mGB6pNORE=; h=Subject:To:References:From:Date:In-Reply-To:From:Subject; b=EBC1UTluC11X3nYvEceY4rpn80ovlAtppe93S8hUwtcNfTxuOXojcgAuwseI1q9SgvqBvkInaiM9iGtypq+q2inruEAloRIRURt+7RuDXaRRsgztI/4+S3GJ25N8wvoi2OQqsZu8o5zjqmdftc8UzWhsBLY1NfyrzS4RrOfzU2DyVcYrPdYjdKY4AUywtn5MwKPdSD37bYAWFUdwfgoZ7tXaCvHUYxVWc4jp4PvLOxj2BbmjBTKZwi+SEp7Dam4LlTVu7UfCsxXazSwQ4fxTxpjdCstZkmvQoexDNofsoD9ipEzzKEWeroZIqQzg5+DcRXrHljeKuSw5QMqoX7lkPg== X-YMail-OSG: teAAeqwVM1mGOiOJGvHZtx3cecz35FojSyBpyJBWsuxGqSYwDkBQhfObK9sMv_t v7HOjFmMBsmFlvl38p5LhYsNW_WWOPnb9uD7IN40h1V4JWhAiy7sko.0j9YfNXS_n62fHm_uvJCU IQnAplUZQvva89x29PiBgYEsg83QgqDdY7XCu6KRNguOj3CMxkDDYJ3GNRj6KCaQo7YWIu6ah_Sm Hh4I_rsRNgMsyecO3kiAU19WunxAyP8cA8uy4NOxnVtKoCAp0c7WbiWK2FUO3VFdZ0y5c0W9jqKO qojtMt4oWXwiyhcPK.MqhtaCYVZW2hei7EYaA7OQLpF1Y1eH4Ii7hWU2ZwMhIPjDL8aHhYYX_R35 HZn4QVp3uBKFXrGVVaoZQSblSUqLzgx6oBMDjvS2UiquVDREN3YhBIUrY6qrJD5b61qcBZza3i4k nh1y4BshpazZ5yOWVcXnkOrcH8Qhy3B0.GC2hsJbPBGFcFdKUqLEOslt5_zoXLw208Fu2Ws16xp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geda-help AT delorie DOT com References: <8ca87b95-6b3c-0832-e98a-7d9e743fe7ff AT yahoo DOT com> <396df3f1-e447-b5ac-6120-4b96acbcb542 AT yahoo DOT com> <3b3b883a-f334-b9c6-eb2e-d49c86fa14fd AT yahoo DOT com> <20200902171255 DOT GC2911 AT newvzh DOT lokolhoz> From: "Glen W. Ruch (gw DOT ruch AT yahoo DOT com) [via geda-help AT delorie DOT com]" Message-ID: Date: Wed, 2 Sep 2020 20:57:05 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------4BFFBFD0615ED4CF4910C839" Content-Language: en-US X-Mailer: WebService/1.1.16565 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) 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 Precedence: bulk This is a multi-part message in MIME format. --------------4BFFBFD0615ED4CF4910C839 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Roland: It's not as easy as we'd hoped.?? A search for all /*geda*/ files returns no build-dep labeled options /*dnf search geda*/ Last metadata expiration check: 2:08:18 ago on Wed 02 Sep 2020 05:13:09 PM EDT. ========================= Name & Summary Matched: geda ========================= geda-docs.noarch : Documentation and Examples for gEDA geda-gattrib.x86_64 : Attribute editor for gEDA geda-gnetlist.x86_64 : Netlister for the gEDA project geda-symbols.noarch : Electronic symbols for gEDA libgeda.x86_64 : Libraries for the gEDA project ============================== Name Matched: geda ============================== geda-gschem.x86_64 : Electronics schematics editor geda-gsymcheck.x86_64 : Symbol checker for electronics schematics editor ============================ Summary Matched: geda ============================= gerbv.x86_64 : Gerber file viewer from the gEDA toolkit gerbv.i686 : Gerber file viewer from the gEDA toolkit [ruchg AT localhost ~]$ [ruchg AT localhost ~]$ /*dnf search gschem*/ geda-gschem.x86_64 : Electronics schematics editor So I downloaded the tarball, /*geda-gaf-1.10.0.tar.gz*/. When I ran the /*./configure*/ It complained about /*libfam*/ and /*libgamin*/ so I added the provided /*--without-libfam*/ switch.?? (I'm running a home system, and no others are trying to modify my schematics, I shouldn't need file access monitoring.) A /*make*/ throws multiple errors. /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ???GTypeDebugFlags??? is deprecated [-Wdeprecated-declarations] ?? 236 | void?????????????????????? gtk_type_init???? (GTypeDebugFlags debug_flags); ?????????? | ^~~~ [snip] /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here ?? 679 | { ?????????? | ^ [ - - snip - - plus 2 more /*deprecated *//*warnings*/, and another /*note: declared here*/ message] gschem_page_view.c: In function ???gschem_page_view_invalidate_world_rect???: gschem_page_view.c:596:3: error: ???screen_right??? may be used uninitialized in this function [-Werror=maybe-uninitialized] ?? 596 |???? gschem_page_view_invalidate_screen_rect (view, ?????????? |???? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ?? 597 |?????????????????????????????????????????????????????????????????????????????????????? screen_left, ?????????? |?????????????????????????????????????????????????????????????????????????????????????? ~~~~~~~~~~~~ ?? 598 |?????????????????????????????????????????????????????????????????????????????????????? screen_top, ?????????? |?????????????????????????????????????????????????????????????????????????????????????? ~~~~~~~~~~~ ?? 599 |?????????????????????????????????????????????????????????????????????????????????????? screen_right, ?????????? |?????????????????????????????????????????????????????????????????????????????????????? ~~~~~~~~~~~~~ ?? 600 |?????????????????????????????????????????????????????????????????????????????????????? screen_bottom); ?????????? |?????????????????????????????????????????????????????????????????????????????????????? ~~~~~~~~~~~~~~ gschem_page_view.c:596:3: error: ???screen_bottom??? may be used uninitialized in this function [-Werror=maybe-uninitialized] gschem_page_view.c:596:3: error: ???screen_top??? may be used uninitialized in this function [-Werror=maybe-uninitialized] gschem_page_view.c:596:3: error: ???screen_left??? may be used uninitialized in this function [-Werror=maybe-uninitialized] cc1: some warnings being treated as errors make[4]: *** [Makefile:1452: gschem-gschem_page_view.o] Error 1 make[4]: Leaving directory '/home/ruchg/Videos/HardDisk1/gschem/geda-gaf-1.10.0/gschem/src' make[3]: *** [Makefile:648: all] Error 2 make[3]: Leaving directory '/home/ruchg/Videos/HardDisk1/gschem/geda-gaf-1.10.0/gschem/src' make[2]: *** [Makefile:474: all-recursive] Error 1 make[2]: Leaving directory '/home/ruchg/Videos/HardDisk1/gschem/geda-gaf-1.10.0/gschem' make[1]: *** [Makefile:548: all-recursive] Error 1 make[1]: Leaving directory '/home/ruchg/Videos/HardDisk1/gschem/geda-gaf-1.10.0' make: *** [Makefile:480: all] Error 2 In order to try and see if these are just warnings I tried to /*make install*/, and it looks to me as I got the same errors gschem_page_view.c:596:3: error: ???screen_bottom??? may be used uninitialized in this function [-Werror=maybe-uninitialized] gschem_page_view.c:596:3: error: ???screen_top??? may be used uninitialized in this function [-Werror=maybe-uninitialized] gschem_page_view.c:596:3: error: ???screen_left??? may be used uninitialized in this function [-Werror=maybe-uninitialized] cc1: some warnings being treated as errors make[4]: *** [Makefile:1452: gschem-gschem_page_view.o] Error 1 make[4]: Leaving directory '/home/ruchg/Videos/HardDisk1/gschem/geda-gaf-1.10.0/gschem/src' make[3]: *** [Makefile:2570: install] Error 2 make[3]: Leaving directory '/home/ruchg/Videos/HardDisk1/gschem/geda-gaf-1.10.0/gschem/src' make[2]: *** [Makefile:474: install-recursive] Error 1 make[2]: Leaving directory '/home/ruchg/Videos/HardDisk1/gschem/geda-gaf-1.10.0/gschem' make[1]: *** [Makefile:548: install-recursive] Error 1 make[1]: Leaving directory '/home/ruchg/Videos/HardDisk1/gschem/geda-gaf-1.10.0' make: *** [Makefile:842: install] Error 2 Running /*gschem*/ from the command line brings up the same version 1.9.2 that I had been running. Suggestions on getting thru the make errors? Regards. On 9/2/20 5:45 PM, Roland Lutz wrote: > 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? --------------4BFFBFD0615ED4CF4910C839 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Roland:

It's not as easy as we'd hoped.?? A search for all geda files returns no build-dep labeled options

dnf search geda
Last metadata expiration check: 2:08:18 ago on Wed 02 Sep 2020 05:13:09 PM EDT.
========================= Name & Summary Matched: geda =========================
geda-docs.noarch : Documentation and Examples for gEDA
geda-gattrib.x86_64 : Attribute editor for gEDA
geda-gnetlist.x86_64 : Netlister for the gEDA project
geda-symbols.noarch : Electronic symbols for gEDA
libgeda.x86_64 : Libraries for the gEDA project
============================== Name Matched: geda ==============================
geda-gschem.x86_64 : Electronics schematics editor
geda-gsymcheck.x86_64 : Symbol checker for electronics schematics editor
============================ Summary Matched: geda =============================
gerbv.x86_64 : Gerber file viewer from the gEDA toolkit
gerbv.i686 : Gerber file viewer from the gEDA toolkit
[ruchg AT localhost ~]$

[ruchg AT localhost ~]$ dnf search gschem
geda-gschem.x86_64 : Electronics schematics editor

So I downloaded the tarball, geda-gaf-1.10.0.tar.gz.?? When I ran the ./configure It complained about libfam and libgamin so I added the provided --without-libfam switch.?? (I'm running a home system, and no others are trying to modify my schematics, I shouldn't need file access monitoring.)

A make throws multiple errors.

/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ???GTypeDebugFlags??? is deprecated [-Wdeprecated-declarations]
?? 236 | void?????????????????????? gtk_type_init???? (GTypeDebugFlags?????? debug_flags);
?????????? | ^~~~
[snip]

/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
?? 679 | {
?????????? | ^


[ - - snip - - plus 2 more deprecated warnings, and another note: declared here message]


gschem_page_view.c: In function ???gschem_page_view_invalidate_world_rect???:
gschem_page_view.c:596:3: error: ???screen_right??? may be used uninitialized in this function [-Werror=maybe-uninitialized]
?? 596 |???? gschem_page_view_invalidate_screen_rect (view,
?????????? |???? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
?? 597 |?????????????????????????????????????????????????????????????????????????????????????? screen_left,
?????????? |?????????????????????????????????????????????????????????????????????????????????????? ~~~~~~~~~~~~
?? 598 |?????????????????????????????????????????????????????????????????????????????????????? screen_top,
?????????? |?????????????????????????????????????????????????????????????????????????????????????? ~~~~~~~~~~~
?? 599 |?????????????????????????????????????????????????????????????????????????????????????? screen_right,
?????????? |?????????????????????????????????????????????????????????????????????????????????????? ~~~~~~~~~~~~~
?? 600 |?????????????????????????????????????????????????????????????????????????????????????? screen_bottom);
?????????? |?????????????????????????????????????????????????????????????????????????????????????? ~~~~~~~~~~~~~~
gschem_page_view.c:596:3: error: ???screen_bottom??? may be used uninitialized in this function [-Werror=maybe-uninitialized]
gschem_page_view.c:596:3: error: ???screen_top??? may be used uninitialized in this function [-Werror=maybe-uninitialized]
gschem_page_view.c:596:3: error: ???screen_left??? may be used uninitialized in this function [-Werror=maybe-uninitialized]
cc1: some warnings being treated as errors
make[4]: *** [Makefile:1452: gschem-gschem_page_view.o] Error 1
make[4]: Leaving directory '/home/ruchg/Videos/HardDisk1/gschem/geda-gaf-1.10.0/gschem/src'
make[3]: *** [Makefile:648: all] Error 2
make[3]: Leaving directory '/home/ruchg/Videos/HardDisk1/gschem/geda-gaf-1.10.0/gschem/src'
make[2]: *** [Makefile:474: all-recursive] Error 1
make[2]: Leaving directory '/home/ruchg/Videos/HardDisk1/gschem/geda-gaf-1.10.0/gschem'
make[1]: *** [Makefile:548: all-recursive] Error 1
make[1]: Leaving directory '/home/ruchg/Videos/HardDisk1/gschem/geda-gaf-1.10.0'
make: *** [Makefile:480: all] Error 2

In order to try and see if these are just warnings I tried to make install, and it looks to me as I got the same errors

gschem_page_view.c:596:3: error: ???screen_bottom??? may be used uninitialized in this function [-Werror=maybe-uninitialized]
gschem_page_view.c:596:3: error: ???screen_top??? may be used uninitialized in this function [-Werror=maybe-uninitialized]
gschem_page_view.c:596:3: error: ???screen_left??? may be used uninitialized in this function [-Werror=maybe-uninitialized]
cc1: some warnings being treated as errors
make[4]: *** [Makefile:1452: gschem-gschem_page_view.o] Error 1
make[4]: Leaving directory '/home/ruchg/Videos/HardDisk1/gschem/geda-gaf-1.10.0/gschem/src'
make[3]: *** [Makefile:2570: install] Error 2
make[3]: Leaving directory '/home/ruchg/Videos/HardDisk1/gschem/geda-gaf-1.10.0/gschem/src'
make[2]: *** [Makefile:474: install-recursive] Error 1
make[2]: Leaving directory '/home/ruchg/Videos/HardDisk1/gschem/geda-gaf-1.10.0/gschem'
make[1]: *** [Makefile:548: install-recursive] Error 1
make[1]: Leaving directory '/home/ruchg/Videos/HardDisk1/gschem/geda-gaf-1.10.0'
make: *** [Makefile:842: install] Error 2

Running gschem from the command line brings up the same version 1.9.2 that I had been running.

Suggestions on getting thru the make errors?

Regards.



On 9/2/20 5:45 PM, Roland Lutz wrote:
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?
--------------4BFFBFD0615ED4CF4910C839--