summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/char-cjk.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2018-03-15 16:04:31 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2018-03-15 16:04:31 +0100
commita4e07f30e880ab27c2918f81f136e257475b7729 (patch)
tree02db002d3001a49777a049f9a98fdc872a5e1ad1 /tex/context/base/mkiv/char-cjk.lua
parentcbc37c39432e0ebe38e0922fc6d14c2955ab3ba2 (diff)
downloadcontext-a4e07f30e880ab27c2918f81f136e257475b7729.tar.gz
2018-03-15 15:36:00
Diffstat (limited to 'tex/context/base/mkiv/char-cjk.lua')
-rw-r--r--tex/context/base/mkiv/char-cjk.lua33
1 files changed, 31 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/char-cjk.lua b/tex/context/base/mkiv/char-cjk.lua
index 3db90386e..ac41fa882 100644
--- a/tex/context/base/mkiv/char-cjk.lua
+++ b/tex/context/base/mkiv/char-cjk.lua
@@ -1282,11 +1282,40 @@ local cjk_ideograph_extension_b_range = {
extender = cjk_ideograph_extension_b_extender,
}
+-- Nushu (when we skip them in mtx-unicode)
+
+-- local nushu_metatable = {
+-- __index = {
+-- category = "lo",
+-- cjkwd = "w",
+-- description = "<NUSHU CHARACTER>",
+-- direction = "l",
+-- linebreak = "id",
+-- }
+-- }
+--
+-- local nushu_extender = function(k)
+-- local t = {
+-- -- shcode = shcode,
+-- unicodeslot = k,
+-- variants = variants[k],
+-- description = formatters["NUSHU CHARACTER-%05X"](k)
+-- }
+-- setmetatable(t,nushu_metatable)
+-- return t
+-- end
+--
+-- local nushu_range = {
+-- name = "nushu character",
+-- first = 0x1B170,
+-- last = 0x1B2FF,
+-- extender = nushu_extender,
+-- }
+
-- Ranges
insert(ranges, hangul_syllable_range)
insert(ranges, cjk_ideograph_range)
insert(ranges, cjk_ideograph_extension_a_range)
insert(ranges, cjk_ideograph_extension_b_range)
-
--- Japanese
+------(ranges, nushu_range)