From b16de98bf2d72d7dfdc8172dbdc3d5d9f3170d77 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 676954ba22..db7100c8be 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