[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: build: font: Support font collection files.
From: |
Danny Milosavljevic |
Subject: |
01/02: build: font: Support font collection files. |
Date: |
Wed, 31 May 2017 17:26:31 -0400 (EDT) |
dannym pushed a commit to branch master
in repository guix.
commit 046175cd4eae314f6e5d3d614efdeb573e8199df
Author: Alex Griffin <address@hidden>
Date: Wed May 31 13:01:42 2017 -0500
build: font: Support font collection files.
* guix/build/font-build-system.scm (install): Support TrueType
Collection (TTC) and OpenType Collection (OTC) files.
Signed-off-by: Danny Milosavljevic <address@hidden>
---
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 cca1e93..f2a646f 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 <address@hidden>
+;;; Copyright © 2017 Alex Griffin <address@hidden>
;;;
;;; 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