summaryrefslogtreecommitdiff
path: root/tex/context/base/typo-krn.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-09-06 19:00:27 +0300
committerMarius <mariausol@gmail.com>2011-09-06 19:00:27 +0300
commit3953a443f750b4cd90f0b0a906c98ca5642be22a (patch)
tree51e31b2c112252e5a67dba73db62fef306524e89 /tex/context/base/typo-krn.lua
parent311faa1da1996add3764a3662e3273276bf8a213 (diff)
downloadcontext-3953a443f750b4cd90f0b0a906c98ca5642be22a.tar.gz
beta 2011.09.06 17:46
Diffstat (limited to 'tex/context/base/typo-krn.lua')
-rw-r--r--tex/context/base/typo-krn.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/tex/context/base/typo-krn.lua b/tex/context/base/typo-krn.lua
index 7d8f65a38..3b1a8b413 100644
--- a/tex/context/base/typo-krn.lua
+++ b/tex/context/base/typo-krn.lua
@@ -45,6 +45,8 @@ local vlist_code = nodecodes.vlist
local kerning_code = kerncodes.kerning
local userkern_code = kerncodes.userkern
local userskip_code = skipcodes.userskip
+local spaceskip_code = skipcodes.spaceskip
+local xspaceskip_code = skipcodes.xspaceskip
local fonthashes = fonts.hashes
local fontdata = fonthashes.identifiers
@@ -220,7 +222,8 @@ local function do_process(namespace,attribute,head,force) -- todo: glue so that
end
end
elseif id == glue_code then
- if start.subtype == userskip_code then
+ local subtype = start.subtype
+ if subtype == userskip_code or subtype == xspaceskip_code or subtype == spaceskip_code then
local s = start.spec
local w = s.width
if w > 0 then