GNU bug report logs - #68548
[PATCH] gnu: fcft: Enable shaping support

Previous Next

Package: guix-patches;

Reported by: soeren <at> soeren-tempel.net

Date: Wed, 17 Jan 2024 19:53:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: soeren <at> soeren-tempel.net
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: fcft: Enable shaping support
Date: Wed, 17 Jan 2024 20:50:58 +0100
From: Sören Tempel <soeren <at> soeren-tempel.net>

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: Sören Tempel <soeren <at> soeren-tempel.net>
---
 gnu/packages/fontutils.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 5bfdea1b27..d06287ff29 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -73,6 +73,7 @@ (define-module (gnu packages fontutils)
   #: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)
@@ -1907,6 +1908,7 @@ (define-public fcft
      (list check pkg-config scdoc))
     (propagated-inputs
      (list ;; Required by fcft.pc.
+           utf8proc
            fontconfig
            freetype
            harfbuzz

base-commit: 29c94dd522833b2603a651c14a5b06120bcf1829




This bug report was last modified 1 year and 157 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.