Corrected TeX ligatures for pdf letters
[civicrm-core.git] / 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}{}