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:
c5e23b8
)
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, 21 Nov 2019 20:45:28 +0000
(15:45 -0500)
CRM/Utils/PDF/Utils.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/PDF/Utils.php
b/CRM/Utils/PDF/Utils.php
index 7476d23a9afff3d11792a41de9824ac3e765a03e..39d4d723f2c6fd091dc57e4892441a01b5400745 100644
(file)
--- a/
CRM/Utils/PDF/Utils.php
+++ b/
CRM/Utils/PDF/Utils.php
@@
-66,7
+66,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}{}