From 998ab905b9ce2aa550237ac5b423e7905c87f7d8 Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez Date: Fri, 10 Jun 2016 15:05:21 -0400 Subject: [PATCH] Tuned up PdfLatex font settings --- CRM/Utils/PDF/Utils.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CRM/Utils/PDF/Utils.php b/CRM/Utils/PDF/Utils.php index 49a054c8ad..d6ecd9f12b 100644 --- a/CRM/Utils/PDF/Utils.php +++ b/CRM/Utils/PDF/Utils.php @@ -49,13 +49,13 @@ 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} -\setDefaultTransitions{\fontspec{CMU Serif}}{} -\setTransitionsForLatin{\fontspec{CMU Serif}}{} -\setTransitionsForArabics{\fontspec{Droid Sans Arabic}}{} +\setDefaultTransitions{\fontspec{FreeSerif}}{} +\setTransitionsForLatin{\fontspec{FreeSerif}}{} +\setTransitionsForArabics{\fontspec{FreeSerif}}{} \setTransitionsForCJK{\fontspec{WenQuanYi Zen Hei}}{} -\setTransitionsForDiacritics{\fontspec{Droid Sans Arabic}}{} -\setTransitionTo{Hebrew}{\fontspec{David CLM}} -\setmainfont{CMU Serif} +\setTransitionsForDiacritics{\fontspec{FreeSerif}}{} +\setTransitionTo{Hebrew}{\fontspec{FreeSerif}} +\setmainfont{FreeSerif} \newcommand{\fsfclosing}[1]{\par\nobreak\vspace{\parskip} \stopbreaks -- 2.25.1