Tuned up PdfLatex font settings
[civicrm-core.git] / CRM / Utils / PDF / Utils.php
index 49a054c8ad073d9de0954c258c0a520a3f82f46f..d6ecd9f12b210fa6afd0639f65bd14d4c2f133b9 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