From f4ca04a820474562e51d8c27f81fe68052753154 Mon Sep 17 00:00:00 2001 From: Rivulet Cedar Date: Wed, 27 Aug 2025 16:34:04 +0200 Subject: [PATCH] gnu: Add font-google-noto-serif-cjk-static. * gnu/packages/fonts.scm (font-google-noto-serif-cjk-static): New variable. Change-Id: Ic0dd54716c9b252e1e87afaab07039021f3f6511 Co-authored-by: Florian Pelz Signed-off-by: Florian Pelz --- gnu/packages/fonts.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index a206016453e2818f166c6030376b47f102c3ffef..bf58efdbc74768646c5441ac819282420bf523bb 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -1559,6 +1559,37 @@ display all Unicode symbols. This package provides the Serif variant of CJK fonts.") (license license:silofl1.1))) +(define-public font-google-noto-serif-cjk-static + (package + (name "font-google-noto-serif-cjk-static") + (version "2.003") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/googlefonts/noto-cjk/releases/download/Serif" + version "/04_NotoSerifCJKOTC.zip")) + (file-name (string-append name "-" version ".zip")) + (sha256 + (base32 "0cca367a7vrpj17bczbwhnlbxsm1j25j6c34xj183s8w97yxhvn7")))) + (build-system font-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (replace 'install + (lambda _ + (chdir "..") ;For license. + (let ((install (assoc-ref %standard-phases 'install))) + (with-directory-excursion "OTC" + (install #:outputs `(("out" . ,#$output)))))))))) + (home-page "https://www.google.com/get/noto/") + (synopsis "Fonts to cover all languages") + (description "Google Noto Fonts is a family of fonts designed to support +all languages with a consistent look and aesthetic. Its goal is to properly +display all Unicode symbols. This package provides the Serif variant of CJK +fonts.") + (license license:silofl1.1))) + (define-public font-google-roboto (package (name "font-google-roboto")