From patchwork Thu Nov 16 19:15:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 56532 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3F35E27BBE9; Thu, 16 Nov 2023 19:18:45 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5E91E27BBE2 for ; Thu, 16 Nov 2023 19:18:44 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3hsM-0004OE-LS; Thu, 16 Nov 2023 14:18:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r3hsK-0004MM-Tp for guix-patches@gnu.org; Thu, 16 Nov 2023 14:18:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r3hsK-0004c2-LE for guix-patches@gnu.org; Thu, 16 Nov 2023 14:18:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r3hsK-0003p7-CH for guix-patches@gnu.org; Thu, 16 Nov 2023 14:18:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67019] [PATCH v2 14/16] gnu: Add mftrace. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Nov 2023 19:18:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67019 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67019@debbugs.gnu.org Cc: Philip McGrath , Liliana Marie Prikler Received: via spool by 67019-submit@debbugs.gnu.org id=B67019.170016223114562 (code B ref 67019); Thu, 16 Nov 2023 19:18:04 +0000 Received: (at 67019) by debbugs.gnu.org; 16 Nov 2023 19:17:11 +0000 Received: from localhost ([127.0.0.1]:44601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3hrS-0003mi-BT for submit@debbugs.gnu.org; Thu, 16 Nov 2023 14:17:10 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:38383) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3hr4-0003iQ-R1 for 67019@debbugs.gnu.org; Thu, 16 Nov 2023 14:16:47 -0500 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.nyi.internal (Postfix) with ESMTP id E73135C016D; Thu, 16 Nov 2023 14:16:46 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Thu, 16 Nov 2023 14:16:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1700162206; x=1700248606; bh=TvLYFhRUmx QVgc7MzzlUM6Eaqi7+ZzgSDbtYajl7ego=; b=QsCppcQB6xyznfyM0suZaGrQc2 Y+10GGPrkjjbPxE6rG1Oy2Ka/sgrjfMxP89BxXlUubhhWJ8lR9m+rd9qULgxpmsI XPT/cjIjbOKRt6hPw8hCw1XOaAyegohdkiK/O6tZFqXWnTmTQcenHOft5nKbI9Av AxqrMQfpeYk8U3GH1CYulSfQjzQqxWcV6wpnvqRLo3MSOwFa4OHwQcx4hP7RGUVh gBICRQAH9C4lFkGy0RAUf1pZLPV4GyDGdYMSruckNAptIJcqf5s5khLmH7akUboS QZJTfVii5cWsMFjsRcSYQMDQsBBWb2ec/v5XlHYMdBuK+p+Ear9ITuxVMWfw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1700162206; x= 1700248606; bh=TvLYFhRUmxQVgc7MzzlUM6Eaqi7+ZzgSDbtYajl7ego=; b=E kDVpqFah90/UFfwcVidxPJ0TnL/kjJalflMGav9WRQdAVcCRapnyKZkPda9Fvqmn AIaf4mbV4NEPkvn4hN54k17resuWv1jcghpwMUThRK4jGi86VAeLr0CHkv1lG0jE BilKInLBSHGqw/8PHxI/Xewpsw6CmK59CeBOZEpCb0/XmTycj5Xr791/RbFXipLS NdZY+/CuAuu4ie7j2app4aQSVwsuoG2VUKQ5vlV1ngLRI2qqrhc/CwsYRULnjseI f3y/ofZ93RecxxnNLiKxc08lydOc9CGD3YdfSi0rS4SUvGIXPMh1GtsUzg/RAEy8 1LSzYLdlZPzz0FVwvFxKg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudefkedguddvtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enogfuuhhsphgvtghtffhomhgrihhnucdlgeelmdenucfjughrpefhvfevufffkffojghf ggfgsedtkeertdertddtnecuhfhrohhmpefrhhhilhhiphcuofgtifhrrghthhcuoehphh hilhhiphesphhhihhlihhpmhgtghhrrghthhdrtghomheqnecuggftrfgrthhtvghrnhep geevuefggffgtdefueefvefgleeigfeiueefudekfeehueekhfegvdfgjeehuefgnecuff homhgrihhnpehsohhurhgtvghfohhrghgvrdhnvghtpdhgihhthhhusgdrtghomhdplhhi lhihphhonhgurdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepphhhihhlihhpsehphhhilhhiphhmtghgrhgrthhhrdgtohhm X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 16 Nov 2023 14:16:46 -0500 (EST) From: Philip McGrath Date: Thu, 16 Nov 2023 14:15:52 -0500 Message-ID: <4b3be6a948d9e6da5dd729caaaeff9c5fef06783.1700161584.git.philip@philipmcgrath.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/fontutils.scm (mftrace): New variable. --- gnu/packages/fontutils.scm | 45 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index 5bfdea1b27..6bab6ab7df 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -1182,6 +1182,51 @@ (define-public ttf2pt1 (home-page "https://ttf2pt1.sourceforge.net/") (license license:bsd-3))) +(define-public mftrace + (let ((commit "3b4bc2e5b8a4ae6f9c776593961b38389e62a484") + ;; see https://github.com/hanwen/mftrace/pull/12 + (revision "0")) + (package + (name "mftrace") + (version (git-version "1.2.20" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hanwen/mftrace") + (commit commit))) + (sha256 + (base32 "01cg6z1z69za07wrvx1y5dnfagx4di2a9qnx25f97l6843x03s36")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (native-inputs (list autoconf + ;; for tests: + (texlive-updmap.cfg + (list texlive-cm)))) + (propagated-inputs (list potrace lcdf-typetools)) + (arguments + (list + ;; setting CC is needed for implicit rule + #:make-flags #~(list (string-append "CC=" #$(cc-for-target))) + #:test-target "test" + #:phases + #~(modify-phases %standard-phases + (replace 'bootstrap + (lambda args + (invoke "autoconf")))))) + (home-page "https://lilypond.org/mftrace/") + (synopsis "Scalable PostScript fonts for MetaFont") + (description "This package provides @command{mftrace}, a small Python +program that lets you trace a TeX bitmap font into a PFA or PFB font (a +PostScript Type 1 Scalable Font) or a @acronym{TTF,TrueType Font}. + +Scalable fonts offer many advantages over bitmaps, as they allow documents to +render correctly at many printer resolutions. Moreover, Ghostscript can +generate much better PDFs if given scalable PostScript fonts. + +Versions of this program prior to 1.0.5 were called @command{pktrace}.") + (license license:gpl2+)))) + (define-public woff2 (package (name "woff2")