• R/O
  • HTTP
  • SSH
  • HTTPS

luatexja: Commit

ソースコードの管理場所


Commit MetaInfo

Revision2353a9bd9e9d5e4118d0b36691af20b5d9b25516 (tree)
Time2018-09-01 19:47:08
AuthorHironori Kitagawa <h_kitagawa2001@yaho...>
CommiterHironori Kitagawa

Log Message

luatexja-{fontspec,preset}.sty: \Cjascale

Change Summary

Incremental Difference

--- a/src/addons/luatexja-fontspec.sty
+++ b/src/addons/luatexja-fontspec.sty
@@ -3,14 +3,12 @@
33 %
44
55 \NeedsTeXFormat{LaTeX2e}
6-\ProvidesPackage{luatexja-fontspec}[2018/07/31 fontspec support of LuaTeX-ja]
6+\ProvidesPackage{luatexja-fontspec}[2018/09/01 fontspec support of LuaTeX-ja]
77 \RequirePackage{l3keys2e,luatexja}
88 \ExplSyntaxOn
99
1010 \cs_if_exist:NF \Cjascale {
11- %%%%%%%% \g_ltj_fontspec_scale_fp
1211 %% Default scale value for jfont.
13- \fp_new:N \g_ltj_fontspec_scale_fp
1412 \group_begin:
1513 \fontsize{16}{16}\selectfont
1614 \cs_gset:Npx \Cjascale { \fp_to_decimal:n {\zw / 16} }
--- a/src/addons/luatexja-preset.sty
+++ b/src/addons/luatexja-preset.sty
@@ -1,5 +1,5 @@
11 % luatexja-preset.sty
2-\ProvidesPackage{luatexja-preset}[2018/08/01 Japanese font presets]
2+\ProvidesPackage{luatexja-preset}[2018/09/01 Japanese font presets]
33
44 \RequirePackage{expl3,l3keys2e}
55 \RequirePackage{luatexja}
@@ -446,6 +446,13 @@
446446 \bool_if:NTF \g_ltjpreset_nfssonly_bool {
447447 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
448448 %%%%%%%% nfss only
449+ \cs_if_exist:NF \Cjascale {
450+ \group_begin:
451+ \fontsize{16}{16}\selectfont
452+ \cs_gset:Npx \Cjascale { \fp_to_decimal:n {\zw / 16} }
453+ \group_end:
454+ }
455+
449456 \msg_warning:nnx { luatexja-preset }{ scale }{ \Cjascale }
450457
451458 \cs_new:Nn \ltj_preset_declare_font_shape:nnnnnn {
Show on old repository browser