summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/font-imp-tracing.lmt
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2022-03-12 18:45:40 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2022-03-12 18:45:40 +0100
commit188632f4b0f71c5170a20f1b151bde68f603bfd9 (patch)
tree49a5a917a1ce6f17cbb6f542dff5b8254cd74c70 /tex/context/base/mkxl/font-imp-tracing.lmt
parentb7a7de31716616b7a5176259e2b60349f8089615 (diff)
downloadcontext-188632f4b0f71c5170a20f1b151bde68f603bfd9.tar.gz
2022-03-12 11:26:00
Diffstat (limited to 'tex/context/base/mkxl/font-imp-tracing.lmt')
-rw-r--r--tex/context/base/mkxl/font-imp-tracing.lmt7
1 files changed, 6 insertions, 1 deletions
diff --git a/tex/context/base/mkxl/font-imp-tracing.lmt b/tex/context/base/mkxl/font-imp-tracing.lmt
index 2187b9497..749a3c964 100644
--- a/tex/context/base/mkxl/font-imp-tracing.lmt
+++ b/tex/context/base/mkxl/font-imp-tracing.lmt
@@ -130,7 +130,12 @@ local function initialize(tfmdata,key,value)
elseif v == v_none then
rule[9] = false
else
- rule[9] = v
+ local thickness = string.todimen(v)
+ if thickness and thickness > 0 then
+ rule[5] = thickness
+ else
+ rule[9] = v
+ end
end
end
end