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