guix_mirror_bot pushed a commit to branch master in repository guix. commit a2e56cfaa1bc6d8732dc25e22c3f12dfcd8c0e9b Author: Liam Hupfer <l...@hpfr.net> AuthorDate: Tue Aug 12 21:44:04 2025 -0500
gnu: Add font-last-resort. * gnu/packages/fonts.scm (font-last-resort): New variable. Change-Id: Icf3c973b62f598df2110a78c8e244318e5c08f67 Signed-off-by: Liliana Marie Prikler <liliana.prik...@gmail.com> --- gnu/packages/fonts.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index df0a9606b8..bd23cbe302 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -66,6 +66,7 @@ ;;; Copyright © 2023 Santiago Payà Miralta <santiago...@gmail.com> ;;; Copyright © 2025 Kurome <hunt31...@gmail.com> ;;; Copyright © 2025 Gabriel Santos <gabrielsantosdeso...@disroot.org> +;;; Copyright © 2025 Liam Hupfer <l...@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")