summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/ctex/ctexspamacro.tex
diff options
context:
space:
mode:
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 }
)
}