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>
Thu, 21 Nov 2019 20:45:28 +0000 (15:45 -0500)
CRM/Utils/PDF/Utils.php

index 7e8336e4a20427550b5c4b6e7f522bdab676a25d..0a166a9f688327b998e6ac9f6dc0c779c6d1b944 100644 (file)
@@ -65,13 +65,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