diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-06-05 17:19:50 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-06-05 17:19:50 +0200 |
commit | 7a761c8aebf67ee022aa4857247518ad6997d5c1 (patch) | |
tree | 3295b12a1cc69ea5c61bce9c7c71172831f89d28 /tex/context/base/mkiv/node-fnt.lua | |
parent | 2bca80bc96d0182956e57c51b5d4977f714bed5c (diff) | |
download | context-7a761c8aebf67ee022aa4857247518ad6997d5c1.tar.gz |
2016-06-05 16:31:00
Diffstat (limited to 'tex/context/base/mkiv/node-fnt.lua')
-rw-r--r-- | tex/context/base/mkiv/node-fnt.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/node-fnt.lua b/tex/context/base/mkiv/node-fnt.lua index f1e8b33ed..c130f86ca 100644 --- a/tex/context/base/mkiv/node-fnt.lua +++ b/tex/context/base/mkiv/node-fnt.lua @@ -402,17 +402,19 @@ function handlers.characters(head) -- skip elseif u == 1 then local font, processors = next(usedfonts) + local attr = a == 0 and false or 0 -- 0 is the savest way for i=1,#processors do - local h, d = processors[i](head,font,0) + local h, d = processors[i](head,font,attr) if d then head = h or head done = true end end else + local attr = a == 0 and false or 0 -- 0 is the savest way for font, processors in next, usedfonts do for i=1,#processors do - local h, d = processors[i](head,font,0) + local h, d = processors[i](head,font,attr) if d then head = h or head done = true |