gnu: Add fonttosfnt.

* gnu/packages/xorg.scm (fonttosfnt): New variable.
This commit is contained in:
宋文武 2023-08-24 17:59:20 +08:00
parent af1efa6f27
commit 23bcc85765
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -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")