summaryrefslogtreecommitdiff
path: root/luaotfload-typo-krn.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-07-14 11:38:33 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-07-14 11:38:33 +0200
commit6ab2fdc6fbd1393050171cba83c12dcaef7e0c35 (patch)
treeddc29827fd6c24c914999b39b1b616a719d5e586 /luaotfload-typo-krn.lua
parent5e700f048077e631f103b7301073a3d899e754a8 (diff)
downloadluaotfload-6ab2fdc6fbd1393050171cba83c12dcaef7e0c35.tar.gz
import typo-krn.lua from latest beta
Diffstat (limited to 'luaotfload-typo-krn.lua')
-rw-r--r--luaotfload-typo-krn.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/luaotfload-typo-krn.lua b/luaotfload-typo-krn.lua
index fb28d3b..fb39404 100644
--- a/luaotfload-typo-krn.lua
+++ b/luaotfload-typo-krn.lua
@@ -20,7 +20,7 @@ local insert_node_before = node.insert_before
local insert_node_after = node.insert_after
local end_of_math = node.end_of_math
-local texattribute = tex.attribute
+local texsetattribute = tex.setattribute
local unsetvalue = attributes.unsetvalue
local nodepool = nodes.pool
@@ -316,7 +316,7 @@ function kerns.set(factor)
else
factor = unsetvalue
end
- texattribute[a_kerns] = factor
+ texsetattribute(a_kerns,factor)
return factor
end