summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xetex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-08-08 21:06:27 +0000
committerKarl Berry <karl@freefriends.org>2018-08-08 21:06:27 +0000
commitc4bcc036718a8fafee7d94b3e9ec8fe58426de1a (patch)
tree8de290109bb779fa590e68cdabeb9aa800cd2b03 /Master/texmf-dist/tex/xetex
parent6bb20d05915a6075a51a761e5b4d1bf33b7f5f78 (diff)
xetexko (8aug18)
git-svn-id: svn://tug.org/texlive/trunk@48378 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xetex')
-rw-r--r--Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty14
1 files changed, 7 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty b/Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty
index 5862d538f50..82274859919 100644
--- a/Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty
+++ b/Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty
@@ -10,7 +10,7 @@
% and version 1.3c or later is part of all distributions of LaTeX
% version 2006/05/20 or later.
-\ProvidesPackage{xetexko-font}[2018/08/02 v2.20 LaTeX Font commands for XeTeX-ko]
+\ProvidesPackage{xetexko-font}[2018/08/08 v2.21 LaTeX Font commands for XeTeX-ko]
\let\xetexko@f@size\f@size
\RequirePackage{fontspec}[2018/07/30]
@@ -382,19 +382,19 @@
\RenewDocumentCommand \setmainfont { O{} m O{} }
{
\__fontspec_main_setmainfont:nn {#1,#3} {#2}
- \edef\rmfamily{\unexpanded\expandafter{\rmfamily\XK@rm@korean@font}}
+ \protected\edef\rmfamily{\unexpanded\expandafter{\rmfamily\XK@rm@korean@font}}
\ignorespaces
}
\RenewDocumentCommand \setsansfont { O{} m O{} }
{
\__fontspec_main_setsansfont:nn {#1,#3} {#2}
- \edef\sffamily{\unexpanded\expandafter{\sffamily\XK@sf@korean@font}}
+ \protected\edef\sffamily{\unexpanded\expandafter{\sffamily\XK@sf@korean@font}}
\ignorespaces
}
\RenewDocumentCommand \setmonofont { O{} m O{} }
{
\__fontspec_main_setmonofont:nn {#1,#3} {#2}
- \edef\ttfamily{\unexpanded\expandafter{\ttfamily\XK@tt@korean@font
+ \protected\edef\ttfamily{\unexpanded\expandafter{\ttfamily\XK@tt@korean@font
\disablehangulspacing}}
\ignorespaces
}
@@ -470,9 +470,9 @@
\fi
}
-\edef\rmfamily{\unexpanded\expandafter{\rmfamily\XK@rm@korean@font}}
-\edef\sffamily{\unexpanded\expandafter{\sffamily\XK@sf@korean@font}}
-\edef\ttfamily{\unexpanded\expandafter{\ttfamily
+\protected\edef\rmfamily{\unexpanded\expandafter{\rmfamily\XK@rm@korean@font}}
+\protected\edef\sffamily{\unexpanded\expandafter{\sffamily\XK@sf@korean@font}}
+\protected\edef\ttfamily{\unexpanded\expandafter{\ttfamily
\XK@tt@korean@font\disablehangulspacing
}}
\edef\verbatim@font{\unexpanded\expandafter{\verbatim@font