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>
Tue, 27 Sep 2022 21:05:22 +0000 (17:05 -0400)
CRM/Utils/PDF/Utils.php

index 11e91028151f73524fa3ff92eb5978e4e4f8b0f9..96b401d2fe2a859b3ea2a8603b810ab19ec6d6af 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}{}