From: Jens O Molgaard <jens@zete.tk>
To: 35403@debbugs.gnu.org
Subject: [bug#35403] [PATCH] Add font-public-sans.
Date: Wed, 24 Apr 2019 07:11:42 +1200 [thread overview]
Message-ID: <87pnpcsfip.fsf@zete.tk> (raw)
[-- Attachment #1: Type: text/plain, Size: 96 bytes --]
Hello guix!
Small patch to add the Public Sans font from the USWDS.
--
Jens Mølgaard
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Add-font-public-sans.patch --]
[-- Type: text/x-patch, Size: 1680 bytes --]
From c8ce540b3ba10a508b4b573b6ecd1473bfc6c7e4 Mon Sep 17 00:00:00 2001
From: Jens M <jens@zete.tk>
Date: Wed, 24 Apr 2019 05:06:38 +1200
Subject: [PATCH] Add font-public-sans.
---
gnu/packages/fonts.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 569a7f807e..8961f855af 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1397,3 +1397,31 @@ files (TTF).")
formatting.")
(home-page "https://madmalik.github.io/mononoki/")
(license license:silofl1.1)))
+
+(define-public font-public-sans
+ (package
+ (name "font-public-sans")
+ (version "1.0.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/uswds/public-sans.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "12ccj7ph3pg962d52d3slbvd44gwfm6bb2846dxyf1xc5h2iwhdv"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; remove versions of predecessor font
+ (delete-file-recursively "fonts/_archive")
+ #t))))
+ (build-system font-build-system)
+ (home-page "https://public-sans.digital.gov/")
+ (synopsis
+ "Strong, neutral typeface for interfaces, text, and headings")
+ (description
+ "Public Sans is a strong, neutral, principles-driven, open-source
+typeface for text or display based on Libre Franklin.")
+ (license license:silofl1.1)))
--
2.21.0
next reply other threads:[~2019-04-23 19:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-23 19:11 Jens O Molgaard [this message]
2019-04-29 7:54 ` bug#35403: [PATCH] Add font-public-sans Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pnpcsfip.fsf@zete.tk \
--to=jens@zete.tk \
--cc=35403@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).