From f4878ecc36085abce6ceb1a76c55b3f0269b5c78 Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez Date: Mon, 13 Nov 2017 17:53:57 -0500 Subject: [PATCH] Corrected TeX ligatures for pdf letters --- CRM/Utils/PDF/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/PDF/Utils.php b/CRM/Utils/PDF/Utils.php index a2ab43e9e7..c65c743001 100644 --- a/CRM/Utils/PDF/Utils.php +++ b/CRM/Utils/PDF/Utils.php @@ -65,7 +65,7 @@ class CRM_Utils_PDF_Utils { \usepackage{fontspec,xunicode} %% VERY IMPORTANT. Configures supported languages and fonts to use for each one. \usepackage[Latin, Hebrew, Arabics, CJK, Diacritics]{ucharclasses} -\newfontfamily{\normalfont}{FreeSerif} +\newfontfamily{\normalfont}[Ligatures=TeX]{FreeSerif} \newfontfamily{\cjkfont}{WenQuanYi Zen Hei} \setDefaultTransitions{\normalfont}{} \setTransitionsForLatin{\normalfont}{} -- 2.25.1