diff options
author | Karl Berry <karl@freefriends.org> | 2015-03-26 21:53:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-03-26 21:53:08 +0000 |
commit | e8ddf7b57dfc0030b4405af4545b3ace5e69056c (patch) | |
tree | 5e7ac4a20fb5fd368efa277c9d2ee23155c3ab8a /Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty | |
parent | c49ba6283423ae1f96690a7249d1b5bf56e122ad (diff) |
xetexko (26mar15)
git-svn-id: svn://tug.org/texlive/trunk@36638 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty')
-rw-r--r-- | Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty | 16 |
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}} |