summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty')
-rw-r--r--Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty16
1 files changed, 8 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty b/Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty
index c4cb0fd33ff..0290fd67ae2 100644
--- a/Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty
+++ b/Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty
@@ -1,6 +1,6 @@
% xetexko-space.sty
%
-% Copyright (c) 2013-2014 Dohyun Kim <nomos at ktug org>
+% Copyright (c) 2013-2015 Dohyun Kim <nomos at ktug org>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
@@ -13,7 +13,7 @@
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname ProvidesPackage\endcsname\relax\else
\ProvidesPackage{xetexko-space}
- [2015/01/18 v2.11 Spacings and fonts for XeTeX-ko]
+ [2015/03/26 v2.12 Spacings and fonts for XeTeX-ko]
\fi
%%% we need XeTeX > 0.997
@@ -36,6 +36,9 @@
\def\XK@assign@char@class#1#2#3{%
\count@=#1\relax
\loop
+ \ifx #3\XKhangulsyllable
+ \catcode\count@ = 12 % revert recent change of unicode-letters.tex
+ \fi
\XeTeXcharclass\count@ = #3\relax
\ifnum\count@<#2\relax \advance\count@\@ne
\repeat
@@ -289,12 +292,7 @@
%%% hangul syllables
\newXeTeXintercharclass \XKhangulsyllable
-\count@="AC00
-\loop
- \catcode\count@ = 12 % revert recent change of unicode-letters.tex
- \XeTeXcharclass\count@ = \XKhangulsyllable
- \ifnum\count@<"D7A3 \advance\count@\@ne
-\repeat
+\XK@assign@char@class{"AC00}{"D7A3}\XKhangulsyllable
% treat compatibility jamo as hangul syllable
\XK@assign@char@class{"3131}{"318E}\XKhangulsyllable
% leading consonants jamo as well
@@ -1006,6 +1004,8 @@
\def\XK@storeprevfont{\edef\XKprevfont{\the\font}}
\let\XKstoreprevfont\XKlatinfont
\chardef\XKcurrentfont\z@ \XK@storeprevfont
+% bug #2 : http://www.ktug.org/xe/index.php?document_srl=203582
+\let\hangfnt\relax \def\hanifnt{\hangfnt}
\protected\def\latincjksymbols {\def\XKmaybehanjafont{\XKlatinfont}}
\protected\def\hangulcjksymbols {\def\XKmaybehanjafont{\XKhangulfont}}