From patchwork Thu Nov 9 16:26:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 56151 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 81BBF27BBE9; Thu, 9 Nov 2023 16:29:21 +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 DB41A27BBEA for ; Thu, 9 Nov 2023 16:29:20 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r17tN-00087m-UP; Thu, 09 Nov 2023 11:28:29 -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 1r17tL-000848-QH for guix-patches@gnu.org; Thu, 09 Nov 2023 11:28:27 -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 1r17tL-0006aT-Hd for guix-patches@gnu.org; Thu, 09 Nov 2023 11:28:27 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r17ty-0004gV-ND; Thu, 09 Nov 2023 11:29:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67019] [PATCH 14/16] gnu: Add mftrace. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: philip@philipmcgrath.com, julien@lepiller.eu, pukkamustard@posteo.net, guix-patches@gnu.org Resent-Date: Thu, 09 Nov 2023 16:29:06 +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 , Philip McGrath , Julien Lepiller , pukkamustard X-Debbugs-Original-Xcc: Philip McGrath , Julien Lepiller , pukkamustard Received: via spool by 67019-submit@debbugs.gnu.org id=B67019.169954730017842 (code B ref 67019); Thu, 09 Nov 2023 16:29:06 +0000 Received: (at 67019) by debbugs.gnu.org; 9 Nov 2023 16:28:20 +0000 Received: from localhost ([127.0.0.1]:48541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r17tD-0004dh-3N for submit@debbugs.gnu.org; Thu, 09 Nov 2023 11:28:19 -0500 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:49609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r17t7-0004cO-Tr for 67019@debbugs.gnu.org; Thu, 09 Nov 2023 11:28:14 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id E912F3200A47; Thu, 9 Nov 2023 11:27:28 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 09 Nov 2023 11:27:29 -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=fm3; t=1699547248; x=1699633648; bh=TvLYFhRUmx QVgc7MzzlUM6Eaqi7+ZzgSDbtYajl7ego=; b=cQaswcaTZsE4rFue6tCH4jf3b0 CIFI4P8YGAElPAXG6sr7obIypvvPuHeREGr2BZoX7XhG/DTd4AsWoQzHMRgiUuLj SsKDFL19G8Bws9euX++o7IuHomm8uBEqYDCh1Uc3BJNSihSyJY5c5KPnYL5fTfCF YXi0LdXn18R3XMUWO101BYLsArcfjLNieX/fuWyNiiL4XSLfmyPmAAbPJd3Tum78 TzkxluD5aURidCpiDfU36+SU8OGB4k45hfcglXkWCldo3wMIACCokjbai3bSGDPq Gz8/edlRln6wIHmJHR8Sspt9a06Kk6FzLPZehagxk/5+jqFRAOt4jCfz4Y7w== 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=fm3; t=1699547248; x= 1699633648; bh=TvLYFhRUmxQVgc7MzzlUM6Eaqi7+ZzgSDbtYajl7ego=; b=g HsUxIWa5JQ+afFUfu/dRpWp6r9GEGUL8zquqHB2xQdrEUMKQFYYEO5CitmU3Gslp /OO8feKxO3OcPWYCM0qSnUUU+aS8taeZRNbJoYeyTPI6cKe/SXhmOCSEV5mvnlub n5S6KP8eiT5jS715rqcDgXM8S9wxe50YT+bUWkRqqiZ9+AftxjUNbcH8hmlIo5eY pw/pyqGn1Nd4quT4zUOZxPOFWGHi+cDuwyKZ79Moxy+CTyowj/TrOL5eJDb64+9N 5C29ikH1SPHhITRwm0GU6sfyywOUcKWZbCPy7ihYi9wkJZXGbipbWfb4ky6kqlM5 lnveHeqOb/RSmYnDiMZMw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddvuddgkeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgoufhushhpvggtthffohhmrghinhculdegledmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheprfhhihhl ihhpucfotgfirhgrthhhuceophhhihhlihhpsehphhhilhhiphhmtghgrhgrthhhrdgtoh hmqeenucggtffrrghtthgvrhhnpeegveeugffggfdtfeeufeevgfeliefgieeufedukeef heeukefhgedvgfejheeugfenucffohhmrghinhepshhouhhrtggvfhhorhhgvgdrnhgvth dpghhithhhuhgsrdgtohhmpdhlihhlhihpohhnugdrohhrghenucevlhhushhtvghrufhi iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehphhhilhhiphesphhhihhlihhpmh gtghhrrghthhdrtghomh X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 9 Nov 2023 11:27:27 -0500 (EST) From: Philip McGrath Date: Thu, 9 Nov 2023 11:26:36 -0500 Message-ID: <19765a75ed634d3c1749e9a81c25a31be27a8c75.1699540553.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")