Subject: bug#65492: closed (Re: [bug#65492] [PATCH] gnu: Add fonttosfnt.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 28 Aug 2023 10:54:02 +0000

Your bug report

#65492: [PATCH] gnu: Add fonttosfnt.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
65492: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65492
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#65492] [PATCH] gnu: Add fonttosfnt.
From: 宋文武 <[email-masked]>
To: [email-masked]
Cc: 宋文武 <[email-masked]>
Date: Mon, 28 Aug 2023 18:53:32 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Pushed, closing.

Subject: [PATCH] gnu: Add fonttosfnt.
From: [email-masked]
To: [email-masked]
Cc: 宋文武 <[email-masked]>
Date: Thu, 24 Aug 2023 17:59:20 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

From: 宋文武 <[email-masked]>

* gnu/packages/xorg.scm (fonttosfnt): New variable.
---
 gnu/packages/xorg.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index eaf90a79df..38bd38a85f 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -469,6 +469,26 @@ (define-public encodings
     (description "Xorg font encoding files.")
     (license license:public-domain)))
 
+(define-public fonttosfnt
+  (package
+    (name "fonttosfnt")
+    (version "1.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://xorg/individual/app/"
+                           "fonttosfnt-" version ".tar.gz"))
+       (sha256
+        (base32 "0j66hv6z2bh4q88kbhncakyfpxqs71jmwn8pqw4gyfpn71y324c1"))))
+    (build-system gnu-build-system)
+    (native-inputs (list pkg-config))
+    (inputs (list freetype libfontenc xorgproto))
+    (home-page "https://www.x.org/wiki/")
+    (synopsis "Wrap a bitmap font in a sfnt (ttf or otb) wrapper")
+    (description "@command{fonttosfnt} wraps a set of bdf or pcf bitmap fonts
+in a sfnt (TrueType or OpenType) wrapper.")
+    (license license:expat)))
+
 (define-public font-adobe100dpi
   (package
     (name "font-adobe100dpi")

base-commit: 39fa1ef033fda82cb1d122e0d1675b51acb1db34
-- 
2.41.0