summaryrefslogtreecommitdiff
path: root/macros/luatex/generic/chinese-jfm/jfm-zh_TW.lua
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/generic/chinese-jfm/jfm-zh_TW.lua')
-rw-r--r--macros/luatex/generic/chinese-jfm/jfm-zh_TW.lua23
1 files changed, 17 insertions, 6 deletions
diff --git a/macros/luatex/generic/chinese-jfm/jfm-zh_TW.lua b/macros/luatex/generic/chinese-jfm/jfm-zh_TW.lua
index 9000cf0d74..5a90144b41 100644
--- a/macros/luatex/generic/chinese-jfm/jfm-zh_TW.lua
+++ b/macros/luatex/generic/chinese-jfm/jfm-zh_TW.lua
@@ -1,5 +1,6 @@
-- Chinese JFM for Traditional Chinese fonts (zh_TW)
--- v1.0.1
+-- v1.1.0
+-- Copyright (c) 2020 -- 2021 ListLee.
local is_vt, is_qj, is_bj, is_km
@@ -149,7 +150,8 @@ luatexja.jfont.define_jfm {
[41] = aki(0.25),
[5] = aki(0.25),
[51] = aki(0.25),
- [52] = aki(0.25)
+ [52] = aki(0.25),
+ [6] = aki(0.25)
}
},
[22] = {
@@ -176,7 +178,8 @@ luatexja.jfont.define_jfm {
[41] = is_vt and {} or aki(0.25),
[5] = is_vt and {} or aki(0.25),
[51] = is_vt and {} or aki(0.25),
- [52] = is_vt and {} or aki(0.25)
+ [52] = is_vt and {} or aki(0.25),
+ [6] = is_vt and {} or aki(0.25)
}
},
[3] = {
@@ -202,7 +205,8 @@ luatexja.jfont.define_jfm {
[41] = aki(0.25, -1),
[5] = aki(0.25, -1),
[51] = aki(0.25, -1),
- [52] = aki(0.25, -1)
+ [52] = aki(0.25, -1),
+ [6] = aki(0.25, -1)
}
},
[4] = {
@@ -230,7 +234,8 @@ luatexja.jfont.define_jfm {
[41] = aki(0.25, 1, true),
[5] = aki(0.25, 1, true),
[51] = aki(0.25, 1, true),
- [52] = aki(0.25, 1, true)
+ [52] = aki(0.25, 1, true),
+ [6] = aki(0.25, 1, true)
}
},
[41] = {
@@ -328,6 +333,12 @@ luatexja.jfont.define_jfm {
},
[6] = {
-- box end
- chars = {'boxbdd', 'parbdd', 'glue'}
+ chars = {'boxbdd', 'parbdd', 'glue'},
+ glue = {
+ [21] = aki(0.25),
+ [22] = is_vt and {} or aki(0.25),
+ [3] = aki(0.25, -1),
+ [4] = aki(0.25, 1, true)
+ }
}
}