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>
Mon, 4 Mar 2024 20:03:39 +0000 (15:03 -0500)
CRM/Utils/PDF/Utils.php

index 985f59c80e5943e4e4547320a0205b1b590a9b1c..36eb9cc3e82bf8613f2f7c253e8b159825ad37d7 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