summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/font-ctx.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2020-08-27 20:45:33 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2020-08-27 20:45:33 +0200
commitcdb8470a2b74a79863900e7ec3130b72acb7f1ae (patch)
tree7621218f87b738438438546cea15ae37cd57220f /tex/context/base/mkiv/font-ctx.lua
parentb2c10135056be4af1a52ed8ef7b3f1f4017dccc0 (diff)
downloadcontext-cdb8470a2b74a79863900e7ec3130b72acb7f1ae.tar.gz
2020-08-27 19:27:00
Diffstat (limited to 'tex/context/base/mkiv/font-ctx.lua')
-rw-r--r--tex/context/base/mkiv/font-ctx.lua9
1 files changed, 3 insertions, 6 deletions
diff --git a/tex/context/base/mkiv/font-ctx.lua b/tex/context/base/mkiv/font-ctx.lua
index e6ed58492..eec967c1c 100644
--- a/tex/context/base/mkiv/font-ctx.lua
+++ b/tex/context/base/mkiv/font-ctx.lua
@@ -1221,6 +1221,7 @@ do -- else too many locals
-- ctx_setemptyfontsize()
end
specification = definers.makespecification(str,lookup,name,sub,method,detail,size)
+-- specification.original = str
if trace_defining then
report_defining("stop stage one")
end
@@ -1239,11 +1240,6 @@ do -- else too many locals
combinefeatures = v
end)
-
-
-
-
-
implement {
name = "definefont_two",
arguments = {
@@ -1269,7 +1265,6 @@ do -- else too many locals
fontdesignsize, -- \m_font_designsize
scaledfontmode -- \scaledfontmode
)
-
if trace_defining then
report_defining("start stage two: %s, size %s, features %a & %a, mode %a",str,size,classfeatures,fontfeatures,inheritancemode)
end
@@ -1424,6 +1419,7 @@ do -- else too many locals
context(function()
busy = false
mathematics.finishfallbacks(tfmdata,specification,fallbacks)
+tfmdata.original = specification.specification
local id = definefont(tfmdata)
csnames[id] = specification.cs
properties.id = id
@@ -1461,6 +1457,7 @@ do -- else too many locals
end)
return
else
+tfmdata.original = specification.specification
local id = definefont(tfmdata)
csnames[id] = specification.cs
properties.id = id