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, 21 Nov 2019 20:45:28 +0000 (15:45 -0500)
CRM/Utils/PDF/Utils.php

index 7476d23a9afff3d11792a41de9824ac3e765a03e..39d4d723f2c6fd091dc57e4892441a01b5400745 100644 (file)
@@ -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}{}