From: Alex Griffin <a@ajgrf.com>
To: 27172@debbugs.gnu.org
Subject: bug#27172: [PATCH 1/2] build: font: Support font collection files.
Date: Wed, 31 May 2017 13:01:42 -0500 [thread overview]
Message-ID: <1496253702.388328.994462952.00D970F1@webmail.messagingengine.com> (raw)
In-Reply-To: <1496252094.381661.994433744.63B16F77@webmail.messagingengine.com>
[-- Attachment #1: Type: text/plain, Size: 208 bytes --]
Sorry, one final revision to my font-build-system patch. A visit to
Wikipedia showed me that OpenType Collection (OTC) files also exist, so
we may as well support them too while we're at it.
--
Alex Griffin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-build-font-Support-font-collection-files.patch --]
[-- Type: text/x-patch; name="0001-build-font-Support-font-collection-files.patch", Size: 1361 bytes --]
From a5bea1fc316c010b127d0c079edfdb52461b96db Mon Sep 17 00:00:00 2001
From: Alex Griffin <a@ajgrf.com>
Date: Wed, 31 May 2017 12:16:01 -0500
Subject: [PATCH 1/2] build: font: Support font collection files.
* guix/build/font-build-system.scm (install): Support TrueType
Collection (TTC) and OpenType Collection (OTC) files.
---
guix/build/font-build-system.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/guix/build/font-build-system.scm b/guix/build/font-build-system.scm
index cca1e93f0..f2a646f6f 100644
--- a/guix/build/font-build-system.scm
+++ b/guix/build/font-build-system.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2017 Alex Griffin <a@ajgrf.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -50,9 +51,9 @@ archive, or a font file."
(source (getcwd))
(fonts (string-append out "/share/fonts")))
(for-each (cut install-file <> (string-append fonts "/truetype"))
- (find-files source "\\.ttf$"))
+ (find-files source "\\.(ttf|ttc)$"))
(for-each (cut install-file <> (string-append fonts "/opentype"))
- (find-files source "\\.otf$"))
+ (find-files source "\\.(otf|otc)$"))
#t))
(define %standard-phases
--
2.13.0
next prev parent reply other threads:[~2017-05-31 18:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-31 17:34 bug#27172: [PATCH 0/2] Switch font-iosevka to 'font-build-system' Alex Griffin
2017-05-31 17:38 ` bug#27172: [PATCH 1/2] build: font: Support TrueType Collection files Alex Griffin
2017-05-31 18:35 ` Danny Milosavljevic
2017-05-31 18:38 ` Danny Milosavljevic
2017-05-31 17:39 ` bug#27172: [PATCH 2/2] gnu: font-iosevka: Use 'font-build-system' Alex Griffin
2017-05-31 18:36 ` Danny Milosavljevic
2017-05-31 17:50 ` bug#27172: [PATCH 1/2] build: font: Support TrueType Collection files Alex Griffin
2017-05-31 18:01 ` Alex Griffin [this message]
2017-05-31 18:39 ` bug#27172: [PATCH 1/2] build: font: Support font collection files Danny Milosavljevic
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=1496253702.388328.994462952.00D970F1@webmail.messagingengine.com \
--to=a@ajgrf.com \
--cc=27172@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).