summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/font-ctx.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2018-01-24 12:00:59 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2018-01-24 12:00:59 +0100
commit7ce2f30f31421eb46d07ff65cbf9fcbda1d6612a (patch)
treecb78bde46cd0939d74075a8047ec8d9bf0210a4a /tex/context/base/mkiv/font-ctx.lua
parent35a569ef13b42755e7469cf93d3e4982e12252d6 (diff)
downloadcontext-7ce2f30f31421eb46d07ff65cbf9fcbda1d6612a.tar.gz
2018-01-24 10:57:00
Diffstat (limited to 'tex/context/base/mkiv/font-ctx.lua')
-rw-r--r--tex/context/base/mkiv/font-ctx.lua10
1 files changed, 9 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/font-ctx.lua b/tex/context/base/mkiv/font-ctx.lua
index ec7eabb53..638cd9b3a 100644
--- a/tex/context/base/mkiv/font-ctx.lua
+++ b/tex/context/base/mkiv/font-ctx.lua
@@ -17,7 +17,7 @@ local context, commands = context, commands
local format, gmatch, match, find, lower, upper, gsub, byte, topattern = string.format, string.gmatch, string.match, string.find, string.lower, string.upper, string.gsub, string.byte, string.topattern
local concat, serialize, sort, fastcopy, mergedtable = table.concat, table.serialize, table.sort, table.fastcopy, table.merged
local sortedhash, sortedkeys, sequenced = table.sortedhash, table.sortedkeys, table.sequenced
-local settings_to_hash, hash_to_string = utilities.parsers.settings_to_hash, utilities.parsers.hash_to_string
+local settings_to_hash, hash_to_string, settings_to_array = utilities.parsers.settings_to_hash, utilities.parsers.hash_to_string, utilities.parsers.settings_to_array
local formatcolumns = utilities.formatters.formatcolumns
local mergehashes = utilities.parsers.mergehashes
local formatters = string.formatters
@@ -3086,3 +3086,11 @@ else
report_adding("adding characters to %!font:name! is not yet supported",id)
end
end
+
+implement {
+ name = "addfontpath",
+ arguments = "string",
+ actions = function(list)
+ names.addruntimepath(settings_to_array(list))
+ end
+}