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=75d357569158800dcbb9333133dd55ff022d2488;p=civicrm-core.git Tuned up PdfLatex font settings --- diff --git a/CRM/Utils/PDF/Utils.php b/CRM/Utils/PDF/Utils.php index 24469b4f28..a11ed48e7b 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