unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: iyzsong--- via Guix-patches via <guix-patches@gnu.org>
To: 65492@debbugs.gnu.org
Cc: 宋文武 <iyzsong@member.fsf.org>
Subject: [bug#65492] [PATCH] gnu: Add fonttosfnt.
Date: Thu, 24 Aug 2023 17:59:20 +0800	[thread overview]
Message-ID: <6c15d8d623f74d6d279dd3cf898d1528a6c65c0e.1692871145.git.iyzsong@member.fsf.org> (raw)

From: 宋文武 <iyzsong@member.fsf.org>

* 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





             reply	other threads:[~2023-08-24 10:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-24  9:59 iyzsong--- via Guix-patches via [this message]
2023-08-28 10:53 ` bug#65492: [PATCH] gnu: Add fonttosfnt 宋文武 via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6c15d8d623f74d6d279dd3cf898d1528a6c65c0e.1692871145.git.iyzsong@member.fsf.org \
    --to=guix-patches@gnu.org \
    --cc=65492@debbugs.gnu.org \
    --cc=iyzsong@envs.net \
    --cc=iyzsong@member.fsf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).