diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/ctex/ctexspamacro.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/ctex/ctexspamacro.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/ctex/ctexspamacro.tex b/Master/texmf-dist/tex/generic/ctex/ctexspamacro.tex index 4f4e629c38f..c4755f49393 100644 --- a/Master/texmf-dist/tex/generic/ctex/ctexspamacro.tex +++ b/Master/texmf-dist/tex/generic/ctex/ctexspamacro.tex @@ -28,7 +28,7 @@ %% \input expl3-generic % \ExplSyntaxOn -\xetex_if_engine:F +\sys_if_engine_xetex:F { \msg_new:nn { ctex } { xetex } { XeTeX~is~required~to~compile~this~document! } @@ -59,7 +59,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 \XeTeXcharglyph ##1 } } + { \exp_args:No \__ctex_save_bounds:n { \int_use:N \xetex_charglyph:D ##1 } } \iow_now:Nx \g__ctex_spa_iow { \token_to_str:N \ctexspadef {#1} @@ -83,7 +83,7 @@ round ( \dim_to_decimal_in_unit:nn - { 100 \XeTeXglyphbounds #1 ~ #2 } + { 100 \xetex_glyphbounds:D #1 ~ #2 } { 1 em } ) } |