From mboxrd@z Thu Jan 1 00:00:00 1970 From: L p R n d n Subject: Re: Should font-build-system compile sfd fonts? Date: Fri, 03 May 2019 17:23:51 +0200 Message-ID: <87k1f78su0.fsf@lprndn.info> References: <425a9e54-ed64-fa48-cf9c-f503439af3e7@brendan.scot> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:60656) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMYAJ-0007cj-FH for guix-devel@gnu.org; Fri, 03 May 2019 09:23:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMYAI-0006LJ-Fq for guix-devel@gnu.org; Fri, 03 May 2019 09:23:51 -0400 Received: from mout02.posteo.de ([185.67.36.142]:42563) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hMYAI-0006KC-A9 for guix-devel@gnu.org; Fri, 03 May 2019 09:23:50 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 196092400E5 for ; Fri, 3 May 2019 15:23:47 +0200 (CEST) In-Reply-To: <425a9e54-ed64-fa48-cf9c-f503439af3e7@brendan.scot> (Brendan Tildesley's message of "Fri, 3 May 2019 17:40:48 +1000") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Brendan Tildesley Cc: guix-devel Hello, Brendan Tildesley writes: > I'm calling for anyone's opinion on this. Currently there are a few > fonts which more-or-less copy-paste the same code for compiling sfd > files in to ttf and otf, which requires fontforge. I wish to add another > font, but didn't want to add to this duplication. Most fonts don't > require it, but it wouldn't be harmful, apart from dragging in > fontforge, would adding a 'build phase that does this to > font-build-system be reasonable. I'm not actually sure how to add a > required native-input to a build system. Or is there a better idea? > Making a whole new sfd-font-build-system, or defining a build-sdf-fonts > symbol that could be added with modify-phases and adding fontforge to > native-inputs? Maybe adding an optional phase like #:glib-or-gtk? for meson? We would get a #sfd-font? argument in the font-build-system. What do you think?