summaryrefslogtreecommitdiff
path: root/otfl-font-ini.lua
diff options
context:
space:
mode:
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 = { } },