Corrected TeX ligatures for pdf letters
authorRuben Rodriguez <ruben@fsf.org>
Mon, 13 Nov 2017 22:53:57 +0000 (17:53 -0500)
committerMichael McMahon <michael@fsf.org>
Thu, 20 Aug 2020 14:00:13 +0000 (10:00 -0400)
CRM/Utils/PDF/Utils.php

index 189298897ed016b04ef70a99ef6e2aa87a2d2f77..a121c514e3ade20f8010831c6eb56b86ef3cfee4 100644 (file)
@@ -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}{}