From: Ruben Rodriguez Date: Fri, 10 Jun 2016 19:05:21 +0000 (-0400) Subject: Tuned up PdfLatex font settings X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=43c80ab842e7d8c04aac884560a0abf8e270e92c;p=civicrm-core.git Tuned up PdfLatex font settings --- diff --git a/CRM/Utils/PDF/Utils.php b/CRM/Utils/PDF/Utils.php index 985f59c80e..36eb9cc3e8 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