summaryrefslogtreecommitdiff
path: root/mkcharacters
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-09-14 12:47:15 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-09-14 12:47:15 +0200
commitf1fefb2184a372ef7418807d1eeb4d9d159591a2 (patch)
tree78609d37f58a625867b5e3ab4bded0a1c809e063 /mkcharacters
parent6494aafd35565dcc1b0689aa47f3ac5c4a103735 (diff)
downloadluaotfload-f1fefb2184a372ef7418807d1eeb4d9d159591a2.tar.gz
[aux,characters] import further Context code
this allows loading Context bidi code without importing the whole lot of ``char-def.lua`` and ``char-ini.lua``. Addresses https://github.com/lualatex/luaotfload/issues/132
Diffstat (limited to 'mkcharacters')
-rwxr-xr-xmkcharacters33
1 files changed, 31 insertions, 2 deletions
diff --git a/mkcharacters b/mkcharacters
index a1c4204..63c78ed 100755
--- a/mkcharacters
+++ b/mkcharacters
@@ -15,10 +15,39 @@
-- config
-----------------------------------------------------------------------
local charfile = "./luaotfload-characters.lua"
-local chardef = "~phg/base/char-def.lua"
-local import = {
+local chardef = "/home/phg/base/char-def.lua"
+
+--- for every code point char-def.lua provides a set of fields. they
+--- are:
+---
+--- * adobename
+--- * category
+--- * cjkwd
+--- * comment
+--- * contextname
+--- * description
+--- * direction
+--- * lccode
+--- * linebreak
+--- * mathclass
+--- * mathextensible
+--- * mathfiller
+--- * mathname
+--- * mathspec
+--- * mathstretch
+--- * mathsymbol
+--- * mirror
+--- * shcode
+--- * specials
+--- * textclass
+--- * uccode
+--- * unicodeslot
+--- * variants
+
+local import = {
"direction", "mirror", --> πολυγλωσσία/uax9
"category", --> https://gist.github.com/phi-gamma/5812290
+ "textclass", --> https://gist.github.com/phi-gamma/6488187
}
-----------------------------------------------------------------------