summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/font-dsp.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2018-05-12 01:19:03 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2018-05-12 01:19:03 +0200
commit77e216e323271fb85d508b7206b13c980540b74b (patch)
tree5b4053c2bbe5190e28c0dce89653c7b13aea0642 /tex/context/base/mkiv/font-dsp.lua
parentd817aef76ab8b606c02bd0636661b634b43a68a6 (diff)
downloadcontext-77e216e323271fb85d508b7206b13c980540b74b.tar.gz
2018-05-12 00:16:00
Diffstat (limited to 'tex/context/base/mkiv/font-dsp.lua')
-rw-r--r--tex/context/base/mkiv/font-dsp.lua9
1 files changed, 3 insertions, 6 deletions
diff --git a/tex/context/base/mkiv/font-dsp.lua b/tex/context/base/mkiv/font-dsp.lua
index c896aa711..6279dda89 100644
--- a/tex/context/base/mkiv/font-dsp.lua
+++ b/tex/context/base/mkiv/font-dsp.lua
@@ -68,12 +68,13 @@ local reversed = table.reversed
local sort = table.sort
local insert = table.insert
local round = math.round
-local settings_to_hash_colon_too = table.settings_to_hash_colon_too
+local settings_to_hash = utilities.parsers.settings_to_hash_colon_too
local setmetatableindex = table.setmetatableindex
local formatters = string.formatters
local sortedkeys = table.sortedkeys
local sortedhash = table.sortedhash
+local sequenced = table.sequenced
local report = logs.reporter("otf reader")
@@ -324,7 +325,7 @@ end)
-- wght:400,wdth:100,ital:1
local function axistofactors(str)
- local t = settings_to_hash_colon_too(str)
+ local t = settings_to_hash(str)
for k, v in next, t do
t[k] = tonumber(v) or v -- this also normalizes numbers itself
end
@@ -349,10 +350,6 @@ function helpers.normalizedaxis(str)
return hash[str] or str
end
-local function axistofactors(str)
- return settings_to_hash_colon_too(str)
-end
-
-- contradicting spec ... (signs) so i'll check it and fix it once we have
-- proper fonts