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=b16de98bf2d72d7dfdc8172dbdc3d5d9f3170d77;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 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}{}