>From ae2b6e20acce65c6b281ae5a2670b0e3b8b81335 Mon Sep 17 00:00:00 2001
From: Roel Janssen <r...@gnu.org>
Date: Thu, 10 Mar 2016 22:21:23 +0100
Subject: [PATCH] gnu: emacs: Use libotf.

* gnu/packages/emacs.scm (emacs): Compile with libotf support.
---
 gnu/packages/emacs.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 7270fc4..7e2c289 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -38,6 +38,7 @@
   #:use-module (gnu packages guile)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages gnome)
+  #:use-module (gnu packages fontutils)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages tls)
@@ -127,6 +128,7 @@
        ("libtiff" ,libtiff)
        ("giflib" ,giflib)
        ("libjpeg" ,libjpeg-8)
+       ("libotf" ,libotf)
        ("acl" ,acl)
 
        ;; When looking for libpng `configure' links with `-lpng -lz', so we
-- 
2.5.0

Dear Guix,

The reason I packaged libotf a while ago was to use it in Emacs, in the
hope that I would be able to get better font rendering for otf fonts.

Here's a very small patch to compile Emacs with libotf support.
Unfortunately for me, it hasn't given me better font rendering.
Nevertheless, I hope it will be useful to someone.

Kind regards,
Roel Janssen

Reply via email to