From: Alex Griffin <a@ajgrf.com>
To: 27172@debbugs.gnu.org
Subject: bug#27172: [PATCH 1/2] build: font: Support TrueType Collection files.
Date: Wed, 31 May 2017 12:50:19 -0500 [thread overview]
Message-ID: <1496253019.384493.994451240.188251D8@webmail.messagingengine.com> (raw)
In-Reply-To: <1496252094.381661.994433744.63B16F77@webmail.messagingengine.com>
[-- Attachment #1: Type: text/plain, Size: 199 bytes --]
This is a new version of patch 1 to fix a bug I accidentally introduced.
The first version I submitted introduced a bug where opentype fonts were
installed into the truetype folder.
--
Alex Griffin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-build-font-Support-TrueType-Collection-files.patch --]
[-- Type: text/x-patch; name="0001-build-font-Support-TrueType-Collection-files.patch", Size: 1252 bytes --]
From 9f9d1e671889049758cdff30f8efb7d481d192a6 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 TrueType Collection files.
* guix/build/font-build-system.scm (install): Support TrueType
Collection (TTC) files.
---
guix/build/font-build-system.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/build/font-build-system.scm b/guix/build/font-build-system.scm
index cca1e93f0..dc97ffbe8 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,7 +51,7 @@ 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$"))
#t))
--
2.13.0
next prev parent reply other threads:[~2017-05-31 17:51 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 ` Alex Griffin [this message]
2017-05-31 18:01 ` bug#27172: [PATCH 1/2] build: font: Support font collection files Alex Griffin
2017-05-31 18:39 ` 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=1496253019.384493.994451240.188251D8@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).