diff options
author | Marius <mariausol@gmail.com> | 2012-10-19 01:20:13 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2012-10-19 01:20:13 +0300 |
commit | 69d2352af4b60929b37fc49f3bdb263977016244 (patch) | |
tree | db5eb11398e345dfa23b4c4500fb93575d2afb7c /tex/context/base/font-ini.lua | |
parent | c18f7cbe51449a611ea1819fedd9a4ff18529b7d (diff) | |
download | context-69d2352af4b60929b37fc49f3bdb263977016244.tar.gz |
stable 2012.05.30 11:26
Diffstat (limited to 'tex/context/base/font-ini.lua')
-rw-r--r-- | tex/context/base/font-ini.lua | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/tex/context/base/font-ini.lua b/tex/context/base/font-ini.lua index 884b22474..8eeba0ce7 100644 --- a/tex/context/base/font-ini.lua +++ b/tex/context/base/font-ini.lua @@ -6,27 +6,33 @@ if not modules then modules = { } end modules ['font-ini'] = { license = "see context related readme files" } +-- basemethods -> can also be in list +-- presetcontext -> defaults +-- hashfeatures -> ctx version + --[[ldx-- <p>Not much is happening here.</p> --ldx]]-- -local allocate = utilities.storage.allocate +local lower = string.lower +local allocate, mark = utilities.storage.allocate, utilities.storage.mark local report_defining = logs.reporter("fonts","defining") -fonts = fonts or { } +fontloader.totable = fontloader.to_table + +fonts = fonts or { } -- already defined in context local fonts = fonts -fonts.hashes = { identifiers = allocate() } - -fonts.tables = fonts.tables or { } -fonts.helpers = fonts.helpers or { } -fonts.tracers = fonts.tracers or { } -- for the moment till we have move to moduledata -fonts.specifiers = fonts.specifiers or { } -- in format ! +-- some of these might move to where they are used first: +fonts.hashes = { identifiers = allocate() } fonts.analyzers = { } -- not needed here fonts.readers = { } +fonts.tables = { } fonts.definers = { methods = { } } +fonts.specifiers = fonts.specifiers or { } -- in format ! fonts.loggers = { register = function() end } +fonts.helpers = { } -fontloader.totable = fontloader.to_table +fonts.tracers = { } -- for the moment till we have move to moduledata |