summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/jlreq/jfm-jlreq.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/luatex/jlreq/jfm-jlreq.lua')
-rw-r--r--Master/texmf-dist/tex/luatex/jlreq/jfm-jlreq.lua48
1 files changed, 48 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/luatex/jlreq/jfm-jlreq.lua b/Master/texmf-dist/tex/luatex/jlreq/jfm-jlreq.lua
index 6172b1b463d..e2a2e0a68dc 100644
--- a/Master/texmf-dist/tex/luatex/jlreq/jfm-jlreq.lua
+++ b/Master/texmf-dist/tex/luatex/jlreq/jfm-jlreq.lua
@@ -695,6 +695,14 @@ local jfm = {
]]
},
},
+
+ [161] = { -- 半角カナ
+ chars = {'ヲ', 'ァ', 'ィ', 'ゥ', 'ェ', 'ォ', 'ャ', 'ュ', 'ョ', 'ッ', 'ー', 'ア', 'イ', 'ウ', 'エ', 'オ', 'カ', 'キ', 'ク', 'ケ', 'コ', 'サ', 'シ', 'ス', 'セ', 'ソ', 'タ', 'チ', 'ツ', 'テ', 'ト', 'ナ', 'ニ', 'ヌ', 'ネ', 'ノ', 'ハ', 'ヒ', 'フ', 'ヘ', 'ホ', 'マ', 'ミ', 'ム', 'メ', 'モ', 'ヤ', 'ユ', 'ヨ', 'ラ', 'リ', 'ル', 'レ', 'ロ', 'ワ', 'ン'},
+ width = 0.5, height = 0.88, depth = 0.12,
+ align = 'left',
+ glue = {} -- あとで
+ },
+
--[[
[17] = { -- 等号類
@@ -750,6 +758,30 @@ local jfm = {
]]
},
},
+ [191] = { -- 1/2数字,よくわからないので漢字等と同じ扱いにする
+ left = 0,
+ chars = {"AJ1-247","AJ1-248","AJ1-249","AJ1-250","AJ1-251","AJ1-252","AJ1-253","AJ1-254","AJ1-255","AJ1-256"},
+ align = 'left',
+ width = 0.5,height = 0.88,depth = 0.12,
+ glue = { -- あとで処理
+ },
+ },
+ [192] = { -- 1/3数字,同様
+ left = 0,
+ chars = {"AJ1-9758","AJ1-9759","AJ1-9760","AJ1-9761","AJ1-9762","AJ1-9763","AJ1-9764","AJ1-9765","AJ1-9766","AJ1-9767"},
+ align = 'left',
+ width = 1/3,height = 0.88,depth = 0.12,
+ glue = { -- あとで処理
+ },
+ },
+ [193] = { -- 1/4数字,同様
+ left = 0,
+ chars = {"AJ1-9738","AJ1-9739","AJ1-9740","AJ1-9741","AJ1-9742","AJ1-9743","AJ1-9744","AJ1-9745","AJ1-9746","AJ1-9747"},
+ align = 'left',
+ width = 1/4,height = 0.88,depth = 0.12,
+ glue = { -- あとで処理
+ },
+ },
--[[
@@ -1191,5 +1223,21 @@ if jlreq ~= nil then
end
end
+local function copy_jfm(from,to)
+ if jfm[from].glue ~= nil then jfm[to].glue = table.fastcopy(jfm[from].glue) end
+ for tc,_ in pairs(jfm) do
+ if type(tc) == "number" then
+ if jfm[tc].glue[from] ~= nil then
+ jfm[tc].glue[to] = table.fastcopy(jfm[tc].glue[from])
+ end
+ end
+ end
+end
+
+copy_jfm(0,191)
+copy_jfm(0,192)
+copy_jfm(0,193)
+copy_jfm(16,161)
+
luatexja.jfont.define_jfm(jfm)