From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6NF9HTGdxV7iagAA0tVLHw (envelope-from ) for ; Wed, 20 May 2020 21:12:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id IMgmGTGdxV4kRQAAbx9fmQ (envelope-from ) for ; Wed, 20 May 2020 21:12:17 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2B5829404D0 for ; Wed, 20 May 2020 21:12:17 +0000 (UTC) Received: from localhost ([::1]:46648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jbW0e-00083F-2T for larch@yhetil.org; Wed, 20 May 2020 17:12:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jbVru-0000vZ-Mh for guix-devel@gnu.org; Wed, 20 May 2020 17:03:14 -0400 Received: from mail-qv1-xf42.google.com ([2607:f8b0:4864:20::f42]:41205) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jbVrt-00022n-Pg for guix-devel@gnu.org; Wed, 20 May 2020 17:03:14 -0400 Received: by mail-qv1-xf42.google.com with SMTP id v15so2068966qvr.8 for ; Wed, 20 May 2020 14:03:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KpNBN4fjq9tLTuNF7kd+RuQblA8YzMvNeipHF9UHEFA=; b=syIdso1yUG2Vn6CBqdpM9dj6btHyjbXarg4Uj6t30FTyjU6KKIfWut7iMZdr3tvsTm X4VMyEd4iCB6OVY5673T2LH25iWyU5nI9fWAAL3YHburQ5eKXVgm6lvIOgilIdbZujUS deA9KLZ9NiHvFtfZtzBUHo+D5BbatHw2/psf9suAuvdB4OS3ONDchw7VqGtqk9RKRaZ4 M0XK4M5kRoKg5oyshboPv/Ks8GdP4Ee0LAbdkoA4Jh/glwP/IwHBPpyRhJgXnxhZ3+KE tsLdPKTuN/N15l0+oucZeF41nGiokAypfTDNNwTmY8Y0gxF7cauMPxU8ILXbP0ms5Rqt 4cSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KpNBN4fjq9tLTuNF7kd+RuQblA8YzMvNeipHF9UHEFA=; b=d27VcsgqkrRUbpdQELCNSua5dEIen1F4gXnHNiv2BkDEfLwZBVHdqFM9OQKzD3wudi Bd3XDlU3agoG5C3FHxjRRRhiExaY9sIneVuTABhN93vXhHAE7aq169DD5njswTrDyk/V T80E0i8Mj9mKEq1XsB7QZcYf1BOCoPc9q+WMTU4kV3rfnjvanrM3RXvMTr7TNFgFQgKi cZcsk9c6ipQXkaUsOcDBaS7iDVbRKtw9RwI5gQpxSoJCJQHTK3//S2mDvPzehlEVdalj c9BmOz8BznbZjeQP8HjdMptZs1oRZzZtYXkBTDn0+QzOAzagJvEKtCwah1LlGRBg8ojo fsGw== X-Gm-Message-State: AOAM530/b9xVI+m6MyMvzUZZV5FbqsOMiXrlhra7q2Op8UQRR3iBRQr+ 97jGspNEUifRKfTM19anAKfzqFtk9dpzRcDFeg8= X-Google-Smtp-Source: ABdhPJxkBJRUGSRg0FrbusAHrmV0F5JZludWKy6VCzJgkswdADB0S8nYrDLgSoyJhcq5epR4EIJfejk4VayoRsTSTGs= X-Received: by 2002:a05:6214:1449:: with SMTP id b9mr6959528qvy.74.1590008592743; Wed, 20 May 2020 14:03:12 -0700 (PDT) MIME-Version: 1.0 References: <20200517145012.21532-1-mbakke@fastmail.com> <87ftbubtj2.fsf@devup.no> In-Reply-To: <87ftbubtj2.fsf@devup.no> From: zimoun Date: Wed, 20 May 2020 23:03:01 +0200 Message-ID: Subject: Re: [PATCH] gnu: fontconfig: Add replacement with font-dejavu instead of gs-fonts. To: Marius Bakke Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::f42; envelope-from=zimon.toutoune@gmail.com; helo=mail-qv1-xf42.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=syIdso1y; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: /IZ1D/VpahSi On Wed, 20 May 2020 at 15:55, Marius Bakke wrote: > zimoun writes: > > Apparently, there is different fonts on master and core-updates, if yes why? > > The only known difference since the core-updates merge is that > applications using Pango (e.g. GTK+) no longer recognizes bitmap fonts. > > https://gitlab.gnome.org/GNOME/pango/issues/386 Thank you for the pointer but I think it is another issue. > > I mean, on my machine -- Guix on the top of Debian with font-dejavu > > installed -- why does commit 4bdf4182fe (core-update merge) not > > display correctly and the parent commit c81457a588 too but the other > > parent commit 23a59b180b displays nicely? > > Leo reported problems with fonts on Debian in > , but said that fonts installed > with Guix still worked. I don't know what could cause it to fail on > your system. Thank for the pointer, it seems the same issue. But I am not sure because I am using the font from Guix. Well, I have font-dejavu-2.37 and fontconfig-2.13.1 installed in ~/.guix-profile from Guix e98689f. When I run guix pull --commit=4bdf4182fe -p /tmp/bad then display /tmp/bad/share/info/images/bootstrap-graph.png there is an issue. Note that 'imagemagick' is installed in ~/.guix-profile using the same commit above. The commit 4bdf4182fe is the commit of merge. If I pull from the (left) parent commit, i.e., the commit c81457a588, guix pull --commit=c81457a588 -p /tmp/left then display /tmp/right/share/info/images/bootstrap-graph.png displays nicely and the font is correct. However, if I pull form the (right) parent commit, i.e., the commit 23a59b180b, guix pull --commit=23a59b180b -p /tmp/right then display /tmp/right/share/info/images/bootstrap-graph.png displays wrongly. Well, I have changed nothing, considering the fonts. And the only difference is commit from "master" vs from "core-updates". And as I explained [1], it always happens when core-updates is merged. BTW, let checkout 4bdf4182fe (git worktree add -b) and run ./bootstrap && ./configure --localstatedir=/var/ && make -j4 in "guix environment --pure guix". Then the image doc/images/bootstrap-graph.png displays nicely. Idem for the two other commits. It is the same when building using the -C option. However, if I pull from this fresh Guix using, ./pre-env-inst guix pull --branch=merge --url=$PWD -p /tmp/merge then outside the environment, using the very same imagemagick, display /tmp/merge/share/info/images/bootstrap-graph.png displays wrongly. Same for the (right) commit 23a59b180b. But it is not the case for the left commit c81457a588. And as I noted [1] this happens with all the merges of core-updates. Something is different between 23a59b180b and c81457a588 in regard to the font, otherwise the exact same procedure would end to the same result using the same machine. The question is: does someone reproduce the same behaviour on Guix System? on other than Debian foreign distro? [1] http://issues.guix.gnu.org/issue/41282 All the best, simon