* [bug#35403] [PATCH] Add font-public-sans.
@ 2019-04-23 19:11 Jens O Molgaard
2019-04-29 7:54 ` bug#35403: " Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Jens O Molgaard @ 2019-04-23 19:11 UTC (permalink / raw)
To: 35403
[-- 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#35403: [PATCH] Add font-public-sans.
2019-04-23 19:11 [bug#35403] [PATCH] Add font-public-sans Jens O Molgaard
@ 2019-04-29 7:54 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2019-04-29 7:54 UTC (permalink / raw)
To: Jens O Molgaard; +Cc: 35403-done
Hi Jens,
Jens O Molgaard <jens@zete.tk> skribis:
>>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(+)
I added a commit log that matches our conventions and committed.
In a subsequent commit I also slightly edited the description following
our guidelines:
<https://gnu.org/software/guix/manual/en/html_node/Synopses-and-Descriptions.html>.
Thank you!
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-29 8:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-23 19:11 [bug#35403] [PATCH] Add font-public-sans Jens O Molgaard
2019-04-29 7:54 ` bug#35403: " Ludovic Courtès
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).