~ruther/guix-local

38392602e874da8509e460825c8a866b1b765d0c — Kurome 1 year, 6 months ago 446e861
gnu: Add font-adobe-source-han-serif.

* gnu/packages/fonts.scm (font-adobe-source-han-serif): New variable.

Change-Id: I451b3fbde4c9f2cfe1c214f9d32ea871cda71568
Signed-off-by: Andreas Enge <andreas@enge.fr>
1 files changed, 25 insertions(+), 0 deletions(-)

M gnu/packages/fonts.scm
M gnu/packages/fonts.scm => gnu/packages/fonts.scm +25 -0
@@ 794,6 794,31 @@ expansion of Franklin Gothic, a classic font.  It covers 105 Latin Languages.")
for long periods of working with computers (8 or more hours per day).")
    (license license:silofl1.1)))

(define-public font-adobe-source-han-serif
  (package
    (name "font-adobe-source-han-serif")
    (version "2.003")
    (source
     (origin
       ;; SuperOTC (all variations in one file) is not in the repository.
       (method url-fetch)
       (uri (string-append
             "https://github.com/adobe-fonts/source-han-serif/releases/download/"
             version "R/01_SourceHanSerif.ttc.zip"))
       (sha256
        (base32 "0pvrgba8r3khliws3zqhcqqa1gbjqfakx9q4yrdf6jl9aymqkrkf"))))
    (build-system font-build-system)
    (home-page "https://source.typekit.com/source-han-serif/")
    (synopsis "Pan-CJK typeface in OpenType/CFF format")
    (description
     "This package provides Source Han Serif, a Pan-CJK typeface available
in OpenType/CFF format.  It supports four different East Asian languages
— Simplified Chinese, Traditional Chinese, Japanese, and Korean — and the
65,535 glyphs in each of its seven weights are designed to work together.
Also included is a set of Western glyphs supporting the Latin, Greek, and
Cyrillic scripts.")
    (license license:silofl1.1)))

(define-public font-adobe-source-han-sans
  (package
    (name "font-adobe-source-han-sans")