summaryrefslogtreecommitdiff
path: root/tex/context/base/font-ctx.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2011-01-26 09:01:00 +0100
committerHans Hagen <pragma@wxs.nl>2011-01-26 09:01:00 +0100
commit4548239c47a4c08a0d019f370f641902b0b77abe (patch)
treed35dd55d965ef1f1ebdc906373c01858c1f82f91 /tex/context/base/font-ctx.lua
parenta542619e8daa633ef659d2627965dbc98a9f2566 (diff)
downloadcontext-4548239c47a4c08a0d019f370f641902b0b77abe.tar.gz
beta 2011.01.26 09:01
Diffstat (limited to 'tex/context/base/font-ctx.lua')
-rw-r--r--tex/context/base/font-ctx.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/font-ctx.lua b/tex/context/base/font-ctx.lua
index c1231fb81..ac7334c10 100644
--- a/tex/context/base/font-ctx.lua
+++ b/tex/context/base/font-ctx.lua
@@ -957,14 +957,14 @@ function fonts.definetypeface(name,t)
elseif t then
if type(t) == "string" then
-- "abc", "k=v,..."
- t = utilities.parsers.settings_to_hash(name)
+ t = settings_to_hash(name)
else
-- "abc", {k=v,...}
end
t.name = t.name or name
else
-- "name=abc,k=v,..."
- t = utilities.parsers.settings_to_hash(name)
+ t = settings_to_hash(name)
end
local p = t.preset and fonts.typefaces[t.preset] or { }
local name = t.name or "unknowntypeface"