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, 13 Jul 2023 18:31:54 +0000 (14:31 -0400)
CRM/Utils/PDF/Utils.php

index 3bad11bdb8c6cff293ff213fc6bae3d3af1d1829..3d4f153d67e5aa36fb11b4958736a14df7554027 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}{}