From 8f06979470d8c177a8db94cb494086b30cc1e8ec 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 189298897e..a121c514e3 100644 --- a/CRM/Utils/PDF/Utils.php +++ b/CRM/Utils/PDF/Utils.php @@ -50,7 +50,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