From 121bf9b296d1bcb24c4dff2ddde181f22f78ed89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Wed, 17 Jan 2024 20:50:58 +0100 Subject: [PATCH] gnu: fcft: Enable shaping support. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit While utf8proc is an optional dependency, it is required for shaping support. Without utf8proc, fcft_rasterize_text_run_utf32() is a no-op. This is a popular function used—among other things—by yambar, foot, fuzzel and fnott. Therefore, many other Linux distributions (Arch, Debian, Fedora, …) enable this feature and I think it would be nice to have in Guix as well. * gnu/packages/fontutils.scm (fcft): Depend on utf8proc. Signed-off-by: Sharlatan Hellseher Change-Id: I7489dbc7a42ffcca509d090df7d2a6250bf996ff --- gnu/packages/fontutils.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index 8d3c017107..299fe87edf 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -19,6 +19,7 @@ ;;; Copyright © 2023 John Kehayias ;;; Copyright © 2023 Janneke Nieuwenhuizen ;;; Copyright © 2023 pinoaffe +;;; Copyright © 2024 Sören Tempel ;;; ;;; This file is part of GNU Guix. ;;; @@ -73,6 +74,7 @@ #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (gnu packages tex) + #:use-module (gnu packages textutils) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix gexp) #:use-module (guix packages) @@ -1911,6 +1913,7 @@ maintain the Noto Fonts project.") (list check pkg-config scdoc)) (propagated-inputs (list ;; Required by fcft.pc. + utf8proc fontconfig freetype harfbuzz