[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/11: gnu: Add font-charter.
From: |
guix-commits |
Subject: |
03/11: gnu: Add font-charter. |
Date: |
Sun, 23 Jan 2022 17:36:40 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 4b4b981a2c1ef04ebd4b91cd5564a72a5ac05d58
Author: Philip McGrath <philip@philipmcgrath.com>
AuthorDate: Wed Jan 12 21:20:50 2022 -0500
gnu: Add font-charter.
* gnu/packages/fonts.scm (font-charter): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/fonts.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 8b618bf3b6..8afb453970 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -2424,3 +2424,43 @@ In addition to Bravura itself, which is for use with
music notation
software (such as MuseScore), the family includes a Bravura Text variant
optimized for using musical symbols inline with regular text.")
(license license:silofl1.1)))
+
+(define-public font-charter
+ (let ((butterick-version "210112")) ;; yymmdd
+ (package
+ (name "font-charter")
+ (version (string-append "2.0.0-" butterick-version))
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://practicaltypography.com/fonts/Charter%20"
+ butterick-version ".zip"))
+ (file-name (string-append name "-" version ".zip"))
+ (sha256
+ (base32 "1j8iv2dl695zrabs2knb7jsky8mjis29a2ddpna4by8mlvqrf0ml"))))
+ (outputs '("out" "woff2"))
+ (build-system font-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'install-woff2
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((dest (string-append (assoc-ref outputs "woff2")
+ "/share/fonts/woff2")))
+ (for-each (lambda (file)
+ (install-file file dest))
+ (find-files "." "\\.woff2$"))))))))
+ (home-page "https://practicaltypography.com/charter.html")
+ (synopsis "Charter fonts in OpenType and TrueType formats")
+ (description "Charter was designed by Matthew Carter in 1987 and was
+contributed by Bitstream to the X Consortium in 1992. This package provides
+OpenType, TrueType, and @acronym{WOFF2, Web Open Font Format 2} versions
+converted from the Type 1 originals by Matthew Butterick.")
+ (license
+ (license:non-copyleft
+ "file://Charter license.txt"
+ (string-append
+ "Bitstream contributed the Charter family "
+ "to the X Consortium in 1992. "
+ "The license is also embedded in the font metadata."))))))
+/
- branch master updated (8ef0473969 -> b45bbe561a), guix-commits, 2022/01/23
- 02/11: doc: Document search paths., guix-commits, 2022/01/23
- 03/11: gnu: Add font-charter.,
guix-commits <=
- 04/11: doc: Tweak Guix Home bits., guix-commits, 2022/01/23
- 01/11: compile: Really disable cross-module inlining and related features., guix-commits, 2022/01/23
- 05/11: gnu: Add utf-8-lineseparator., guix-commits, 2022/01/23
- 08/11: gnu: gtk-vnc: Remove dependency on GJS on non-x86_64., guix-commits, 2022/01/23
- 06/11: gnu: rofi: Add a search path for plugins., guix-commits, 2022/01/23
- 07/11: gnu: Add rofi-calc., guix-commits, 2022/01/23
- 10/11: gnu: gnome-settings-daemon: Build with correct librsvg., guix-commits, 2022/01/23
- 09/11: gnu: gtk-vnc: Build with correct librsvg., guix-commits, 2022/01/23
- 11/11: gnu: vlc: Build with correct librsvg., guix-commits, 2022/01/23