Tuned up PdfLatex font settings
authorRuben Rodriguez <ruben@fsf.org>
Fri, 10 Jun 2016 19:05:21 +0000 (15:05 -0400)
committerMichael McMahon <michael@fsf.org>
Fri, 17 Apr 2020 15:37:17 +0000 (11:37 -0400)
CRM/Utils/PDF/Utils.php

index 24469b4f285e1d4ce4cc1c2a8d123eca591a5765..a11ed48e7bb12c1f4d1ca94ff90152949dc788e5 100644 (file)
@@ -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