summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/font_patch.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/font_patch.tex b/tests/font_patch.tex
index e096551..d41ff48 100644
--- a/tests/font_patch.tex
+++ b/tests/font_patch.tex
@@ -2,8 +2,8 @@
\directlua {
local function patch(fontdata)
local mc = fontdata.MathConstants
- local em = fontdata.units
- local sz = fontdata.size
+ local em = fontdata.parameters.units
+ local sz = fontdata.parameters.size
if fontdata.psname == "CambriaMath" and mc then
mc.DisplayOperatorMinHeight = 2800 / em * sz
end