summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/luatex')
-rw-r--r--Master/texmf-dist/tex/luatex/evangelion-jfm/jfm-eva.lua13
1 files changed, 7 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/luatex/evangelion-jfm/jfm-eva.lua b/Master/texmf-dist/tex/luatex/evangelion-jfm/jfm-eva.lua
index 502295772bd..08d1031764f 100644
--- a/Master/texmf-dist/tex/luatex/evangelion-jfm/jfm-eva.lua
+++ b/Master/texmf-dist/tex/luatex/evangelion-jfm/jfm-eva.lua
@@ -1,13 +1,13 @@
---- Evangelion Japanese Font Metric for LuaTeX
----- Current Version: 1.0.5 (b)
+---- Current Version: 1.0.5 (c)
---- Dev URL: https://github.com/RadioNoiseE/Evangelion-JFM
----- Copyright 2023, RadioNoiseE ©
+---- Copyright 2023-2024, RadioNoiseE ©
-- 初始化
local lang_jp, lang_tc, lang_sc, dir_vt, font_extd, punc_lg, punc_hg, std_nil, al_hw, al_fw, as_nil, fw_prop, fw_xprop
-if luatexja.jfont.jfm_feature then
+if luatexja.jfont.jfm_feature then
lang_jp = luatexja.jfont.jfm_feature.jp
lang_tc = luatexja.jfont.jfm_feature.trad
lang_sc = luatexja.jfont.jfm_feature.smpl
@@ -61,8 +61,9 @@ if not ((lang_jp and not (lang_tc or lang_sc)) or
end
-- 壓縮比例設定
-if font_extd == true then
- local extd_ratio = (type(font_extd) == 'string') and tonumber(font_extd) or 1.25
+local extd_ratio = (type(font_extd) == 'string') and tonumber(font_extd) or 1.25
+if font_extd == false then
+ extd_ratio = nil
end
-- 行間標點字間距補足
@@ -402,7 +403,7 @@ local eva = {
[8] = { -- 閉括號類
chars = {')', '〕', ']', '}', '〉', '》', '」', '』', '】', '⦆', '〙', '〗', '〟', '’', '”'},
- width = context_width(0.5),
+ width = context_width(0.5),
height = context_height(),
depth = context_depth(),
italic = 0,