guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

54/54: gnu: texlive-libkpathsea: Allow LuaLaTeX finding fonts on the sys


From: guix-commits
Subject: 54/54: gnu: texlive-libkpathsea: Allow LuaLaTeX finding fonts on the system.
Date: Tue, 14 May 2024 15:34:41 -0400 (EDT)

ngz pushed a commit to branch tex-team
in repository guix.

commit 97dcf2cef74afb165ad85a57cb25f95e9e04a47e
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 14 19:45:24 2024 +0200

    gnu: texlive-libkpathsea: Allow LuaLaTeX finding fonts on the system.
    
    * gnu/packages/tex.scm (texlive-libkpathsea)[arguments]<#:phases>: Set
    OSFONTDIR appropriately.
    
    Change-Id: I70386c177ce3a22061fab0b0b3b7634731a1bbda
---
 gnu/packages/tex.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 7ad68d91ec..c02fcf65e0 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -263,6 +263,8 @@
                 (("^TEXMFCNF = " lead)
                  (string-append
                   "TEXMFCNF = " #$output "/share/texmf-dist/web2c\n" lead))
+                ;; Help TeX finding fonts installed on the system.
+                (("^OSFONTDIR = .*") "OSFONTDIR = {$XDG_DATA_DIRS}\n")
                 ;; Don't truncate lines.
                 (("^error_line = .*$") "error_line = 254\n")
                 (("^half_error_line = .*$") "half_error_line = 238\n")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]