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:
640d57f
)
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>
Fri, 17 Apr 2020 15:37:17 +0000
(11:37 -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 59ffabb015179e14f841e50bd92961454c71c035..1012aa8abeab50655b30545681a6ecb7c0143530 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}{}