summaryrefslogtreecommitdiff
path: root/tex/context/base/font-def.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2010-07-30 11:35:00 +0200
committerHans Hagen <pragma@wxs.nl>2010-07-30 11:35:00 +0200
commitd879fd040aa85b55875d8aed16394351518dde21 (patch)
tree09d8d98b17282cb23362b8c94fe124b48afe89b9 /tex/context/base/font-def.lua
parent84903d24d6d930438bb3cc4322c4b14271b713aa (diff)
downloadcontext-d879fd040aa85b55875d8aed16394351518dde21.tar.gz
stable 2010.07.30 11:35
Diffstat (limited to 'tex/context/base/font-def.lua')
-rw-r--r--tex/context/base/font-def.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/tex/context/base/font-def.lua b/tex/context/base/font-def.lua
index a35c4856f..ea5b69a6b 100644
--- a/tex/context/base/font-def.lua
+++ b/tex/context/base/font-def.lua
@@ -290,6 +290,15 @@ function define.resolve(specification)
else
specification.forced = specification.forced
end
+ -- for the moment here (goodies eset outside features)
+ local goodies = specification.goodies
+ if goodies and goodies ~= "" then
+ local normalgoodies = specification.features.normal.goodies
+ if not normalgoodies or normalgoodies == "" then
+ specification.features.normal.goodies = goodies
+ end
+ end
+ --
specification.hash = lower(specification.name .. ' @ ' .. tfm.hash_features(specification))
if specification.sub and specification.sub ~= "" then
specification.hash = specification.sub .. ' @ ' .. specification.hash