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:
f898870
)
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, 13 Jul 2023 18:31:54 +0000
(14:31 -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 3bad11bdb8c6cff293ff213fc6bae3d3af1d1829..3d4f153d67e5aa36fb11b4958736a14df7554027 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}{}