projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ee8109
)
Corrected TeX ligatures for pdf letters
author
Ruben Rodriguez
<ruben@fsf.org>
Mon, 13 Nov 2017 22:53:57 +0000
(17:53 -0500)
committer
Michael McMahon
<michael@fsf.org>
Thu, 20 Aug 2020 14:00:13 +0000
(10:00 -0400)
CRM/Utils/PDF/Utils.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/PDF/Utils.php
b/CRM/Utils/PDF/Utils.php
index 189298897ed016b04ef70a99ef6e2aa87a2d2f77..a121c514e3ade20f8010831c6eb56b86ef3cfee4 100644
(file)
--- a/
CRM/Utils/PDF/Utils.php
+++ b/
CRM/Utils/PDF/Utils.php
@@
-50,7
+50,7
@@
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}
-\newfontfamily{\normalfont}{FreeSerif}
+\newfontfamily{\normalfont}
[Ligatures=TeX]
{FreeSerif}
\newfontfamily{\cjkfont}{WenQuanYi Zen Hei}
\setDefaultTransitions{\normalfont}{}
\setTransitionsForLatin{\normalfont}{}