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, 4 Mar 2021 19:36:09 +0000 (14:36 -0500)
CRM/Utils/PDF/Utils.php

index 676954ba2236d96e83a21e6a8aebde56e3bf0503..db7100c8bea50e6c8e575043ba89249a77de2ce3 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}{}