summaryrefslogtreecommitdiff
path: root/otfl-font-ini.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-03-14 20:26:47 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2010-03-14 20:28:46 +0200
commiteb8be6a1a06126d66883495aa499855fb44f4897 (patch)
tree02832f17f1e9138d8f09404ef2a15fb464b07f4a /otfl-font-ini.lua
parent87e098449bdddc6e68261047bbc12b6fe9a15c6b (diff)
downloadluaotfload-eb8be6a1a06126d66883495aa499855fb44f4897.tar.gz
Updating to latest ConTeXt beta (2010.03.12)
Fixes a regression with legacy TeX ligatures (``'' etc.)
Diffstat (limited to 'otfl-font-ini.lua')
-rw-r--r--otfl-font-ini.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/otfl-font-ini.lua b/otfl-font-ini.lua
index 5cff227..bcf46ad 100644
--- a/otfl-font-ini.lua
+++ b/otfl-font-ini.lua
@@ -23,6 +23,7 @@ fontloader.totable = fontloader.to_table
fonts = fonts or { }
fonts.ids = fonts.ids or { } -- aka fontdata
+fonts.chr = fonts.chr or { } -- aka chardata
fonts.tfm = fonts.tfm or { }
fonts.mode = 'base'
@@ -35,6 +36,8 @@ fonts.ids[0] = { -- nullfont
name = "nullfont",
}
+fonts.chr[0] = { }
+
fonts.methods = fonts.methods or {
base = { tfm = { }, afm = { }, otf = { }, vtf = { }, fix = { } },
node = { tfm = { }, afm = { }, otf = { }, vtf = { }, fix = { } },