summaryrefslogtreecommitdiff
path: root/gnu/packages/xorg.scm
diff options
context:
space:
mode:
author宋文武 <iyzsong@member.fsf.org>2023-08-24 17:59:20 +0800
committer宋文武 <iyzsong@member.fsf.org>2023-08-28 18:05:38 +0800
commit23bcc8576540b10aad62af375302b4e223bd176c (patch)
tree6c9f19ea5520e444494e5dd85d0df3d34f5f0ed0 /gnu/packages/xorg.scm
parentaf1efa6f275b26a58af4333357e26b60065f8525 (diff)
gnu: Add fonttosfnt.
* gnu/packages/xorg.scm (fonttosfnt): New variable.
Diffstat (limited to 'gnu/packages/xorg.scm')
-rw-r--r--gnu/packages/xorg.scm20
1 files changed, 20 insertions, 0 deletions
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 @@ Resources file.")
(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")