summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-02-08 21:41:23 +0000
committerKarl Berry <karl@freefriends.org>2024-02-08 21:41:23 +0000
commit0e1742ab9d121e26fce1bc52a5a3d669a6cce37e (patch)
tree9ef52ce35f31d376a7f779020e9e7e5798e0b888 /Master/texmf-dist/tex/luatex
parent9efebb728d51d588bf761671007f08a39e8085bc (diff)
evangelion-jfm (8feb24)
git-svn-id: svn://tug.org/texlive/trunk@69751 c570f23f-e606-0410-a88d-b1316a301751
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,