summaryrefslogtreecommitdiff
path: root/tex/context/base/s-fonts-tables.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/s-fonts-tables.lua')
-rw-r--r--tex/context/base/s-fonts-tables.lua26
1 files changed, 10 insertions, 16 deletions
diff --git a/tex/context/base/s-fonts-tables.lua b/tex/context/base/s-fonts-tables.lua
index 442fadfef..2849c0540 100644
--- a/tex/context/base/s-fonts-tables.lua
+++ b/tex/context/base/s-fonts-tables.lua
@@ -6,15 +6,15 @@ if not modules then modules = { } end modules ['s-fonts-tables'] = {
license = "see context related readme files"
}
+moduledata.fonts = moduledata.fonts or { }
+moduledata.fonts.tables = moduledata.fonts.tables or { }
+
local setmetatableindex = table.setmetatableindex
local sortedhash = table.sortedhash
local sortedkeys = table.sortedkeys
local format = string.format
local concat = table.concat
-moduledata.fonts = moduledata.fonts or { }
-moduledata.fonts.tables = moduledata.fonts.tables or { }
-
local tabletracers = moduledata.fonts.tables
local digits = {
@@ -186,11 +186,11 @@ function tabletracers.positionings()
for feature, scripts in sortedhash(gpos) do
for script, languages in sortedhash(scripts) do
context.NC()
- context(feature)
+ context(feature)
context.NC()
- context(script)
+ context(script)
context.NC()
- context(concat(sortedkeys(languages)," "))
+ context(concat(sortedkeys(languages)," "))
context.NC()
context.NR()
end
@@ -281,18 +281,12 @@ function tabletracers.substitutions()
end
end
-function tabletracers.all(settings) -- not interfaced
-
- if type(settings) == "string" then
- settings = utilities.parsers.settings_to_hash(settings)
- end
+function tabletracers.all(specification) -- not interfaced
- local title = settings and settings.title or ""
+ specification = interfaces.checkedspecification(specification)
- if title == "" then title = false end
-
- if title then
- context.starttitle { title = title }
+ if specification.title then
+ context.starttitle { title = specification.title }
end
context.startsubject { title = "Properties" }