gnu: Add font-last-resort.

* gnu/packages/fonts.scm (font-last-resort): New variable.

Change-Id: Icf3c973b62f598df2110a78c8e244318e5c08f67
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Liam Hupfer 2025-08-12 21:44:04 -05:00 committed by Liliana Marie Prikler
parent 6fe2a7ab31
commit a2e56cfaa1
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -66,6 +66,7 @@
;;; Copyright © 2023 Santiago Payà Miralta <santiagopim@gmail.com>
;;; Copyright © 2025 Kurome <hunt31999@gmail.com>
;;; Copyright © 2025 Gabriel Santos <gabrielsantosdesouza@disroot.org>
;;; Copyright © 2025 Liam Hupfer <liam@hpfr.net>
;;;
;;; This file is part of GNU Guix.
;;;
@ -1342,6 +1343,31 @@ utilities to ease adding new glyphs to the font.")
(properties '((upstream-name . "unifont")))
(license license:gpl2+)))
(define-public font-last-resort
(package
(name "font-last-resort")
(version "16.000")
(source
(origin
(method url-fetch)
;; PGTK Emacs does not seem to render the high-efficiency TTF. Prefer
;; the larger but more compatible standard TTF.
(uri (string-append "https://github.com/unicode-org/last-resort-font"
"/releases/download/" version
"/LastResort-Regular.ttf"))
(sha256
(base32 "0rlisa9hzm7kfy3b8w2460mkiwrh2hlyp223bafkqzpkxkfsbcpp"))))
(build-system font-build-system)
(home-page "https://github.com/unicode-org/last-resort-font")
(synopsis "Fallback font for Unicode code points")
(description
"Last Resort is a special-purpose font intended as a user-friendly
alternative to tofu symbols. It includes glyphs designed to allow users to
recognize which Unicode block a character belongs to so they can identify what
type of font to install to properly display text. Undefined code points and
noncharacters are also represented.")
(license license:silofl1.1)))
(define-public font-google-noto
(package
(name "font-google-noto")