diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-07-05 13:37:27 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-07-05 13:37:27 +0200 |
commit | a596680c20618232e248aa4e45bed22749a30e1b (patch) | |
tree | 4a23eacbf1cccac6d60fc01b762afc369845f196 /tex/context/base/mkiv/node-bck.lua | |
parent | da9149010f4d34eef23a504682d82cdcf4fac8f5 (diff) | |
download | context-a596680c20618232e248aa4e45bed22749a30e1b.tar.gz |
2016-07-05 13:06:00
Diffstat (limited to 'tex/context/base/mkiv/node-bck.lua')
-rw-r--r-- | tex/context/base/mkiv/node-bck.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tex/context/base/mkiv/node-bck.lua b/tex/context/base/mkiv/node-bck.lua index 326987586..2ee08a80e 100644 --- a/tex/context/base/mkiv/node-bck.lua +++ b/tex/context/base/mkiv/node-bck.lua @@ -47,7 +47,7 @@ local new_glue = nodepool.glue local a_color = attributes.private('color') local a_transparency = attributes.private('transparency') -local a_colorspace = attributes.private('colormodel') +local a_colormodel = attributes.private('colormodel') local a_background = attributes.private('background') local a_alignbackground = attributes.private('alignbackground') @@ -70,7 +70,7 @@ local function add_backgrounds(head) -- rather old code .. to be redone if background then -- direct to hbox -- colorspace is already set so we can omit that and stick to color - local mode = getattr(current,a_colorspace) + local mode = getattr(current,a_colormodel) if mode then local height = getfield(current,"height") local depth = getfield(current,"depth") @@ -79,7 +79,7 @@ local function add_backgrounds(head) -- rather old code .. to be redone local rule = new_rule(width,height,depth) local color = getattr(current,a_color) local transparency = getattr(current,a_transparency) - setattr(rule,a_colorspace,mode) + setattr(rule,a_colormodel,mode) if color then setattr(rule,a_color,color) end @@ -132,13 +132,13 @@ local function add_alignbackgrounds(head) -- current has subtype 5 (cell) local width = getfield(current,"width") if width > 0 then - local mode = getattr(found,a_colorspace) + local mode = getattr(found,a_colormodel) if mode then local glue = new_glue(-width) local rule = new_rule(width,getfield(current,"height"),getfield(current,"depth")) local color = getattr(found,a_color) local transparency = getattr(found,a_transparency) - setattr(rule,a_colorspace,mode) + setattr(rule,a_colormodel,mode) if color then setattr(rule,a_color,color) end |