summaryrefslogtreecommitdiff
path: root/tex/context/base/font-pat.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/font-pat.lua')
-rw-r--r--tex/context/base/font-pat.lua26
1 files changed, 13 insertions, 13 deletions
diff --git a/tex/context/base/font-pat.lua b/tex/context/base/font-pat.lua
index b6531abb9..9f679f663 100644
--- a/tex/context/base/font-pat.lua
+++ b/tex/context/base/font-pat.lua
@@ -108,19 +108,19 @@ local function patch_domh(data,filename,threshold)
m.DisplayOperatorMinHeight = threshold
end
end
- if tex.luatexversion < 48 then
- for _, g in next, data.glyphs do
- local name = g.name
- if find(name,"^integral$") or find(name,"^integral%.vsize") then
- local width, italic = g.width or 0, g.italic_correction or 0
- local newwidth = width - italic
- if trace_loading then
- report_otf("patching width of %s: %s (width) - %s (italic) = %s",name,width,italic,newwidth)
- end
- g.width = newwidth
- end
- end
- end
+-- if tex.luatexversion < 48 then
+-- for _, g in next, data.glyphs do
+-- local name = g.name
+-- if find(name,"^integral$") or find(name,"^integral%.vsize") then
+-- local width, italic = g.width or 0, g.italic_correction or 0
+-- local newwidth = width - italic
+-- if trace_loading then
+-- report_otf("patching width of %s: %s (width) - %s (italic) = %s",name,width,italic,newwidth)
+-- end
+-- g.width = newwidth
+-- end
+-- end
+-- end
end
patches["cambria"] = function(data,filename) patch_domh(data,filename,2800) end