From: Ruben Rodriguez Date: Mon, 13 Nov 2017 22:53:57 +0000 (-0500) Subject: Corrected TeX ligatures for pdf letters X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=966954ce61c1eed5bbe84bdd711853788c749bc5;p=civicrm-core.git Corrected TeX ligatures for pdf letters --- diff --git a/CRM/Utils/PDF/Utils.php b/CRM/Utils/PDF/Utils.php index 7476d23a9a..39d4d723f2 100644 --- a/CRM/Utils/PDF/Utils.php +++ b/CRM/Utils/PDF/Utils.php @@ -66,7 +66,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}{}