summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/ctex/ctexspamacro.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-04-07 21:22:23 +0000
committerKarl Berry <karl@freefriends.org>2019-04-07 21:22:23 +0000
commitfc7eee8c175b307abf9396aed71c1d49bd1c0fe4 (patch)
tree6173e8f922c539a792fcbde24e58cb8db06dd5e2 /Master/texmf-dist/tex/generic/ctex/ctexspamacro.tex
parentbb3a18a8791a2f32a6c8a3e0c9ee15a643aefd89 (diff)
ctex (7apr19)
git-svn-id: svn://tug.org/texlive/trunk@50843 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/ctex/ctexspamacro.tex')
-rw-r--r--Master/texmf-dist/tex/generic/ctex/ctexspamacro.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/generic/ctex/ctexspamacro.tex b/Master/texmf-dist/tex/generic/ctex/ctexspamacro.tex
index 3c04a6717a2..80a148e24c3 100644
--- a/Master/texmf-dist/tex/generic/ctex/ctexspamacro.tex
+++ b/Master/texmf-dist/tex/generic/ctex/ctexspamacro.tex
@@ -6,7 +6,7 @@
%%
%% ctex.dtx (with options: `spa,macro')
%%
-%% Copyright (C) 2003--2018
+%% Copyright (C) 2003--2019
%% CTEX.ORG and any individual authors listed in the documentation.
%% ------------------------------------------------------------------------------
%%
@@ -58,7 +58,7 @@
\l__ctex_punct_font
\clist_clear:N \l__ctex_punct_bounds_clist
\seq_map_inline:Nn \c__ctex_punct_seq
- { \exp_args:No \__ctex_save_bounds:n { \int_use:N \xetex_charglyph:D ##1 } }
+ { \exp_args:No \__ctex_save_bounds:n { \int_use:N \tex_XeTeXcharglyph:D ##1 } }
\iow_now:Nx \g__ctex_spa_iow
{
\token_to_str:N \ctexspadef {#1}
@@ -70,8 +70,8 @@
{
\clist_put_right:Nx \l__ctex_punct_bounds_clist
{
- \__ctex_calc_bounds:nn { \c_one } {#1} ,
- \__ctex_calc_bounds:nn { \c_three } {#1}
+ \__ctex_calc_bounds:nn { 1 } {#1} ,
+ \__ctex_calc_bounds:nn { 3 } {#1}
}
}
\clist_new:N \l__ctex_punct_bounds_clist
@@ -82,7 +82,7 @@
round
(
\dim_to_decimal_in_unit:nn
- { 100 \xetex_glyphbounds:D #1 ~ #2 }
+ { 100 \tex_XeTeXglyphbounds:D #1 ~ #2 }
{ 1 em }
)
}