diff options
author | Hans Hagen <pragma@wxs.nl> | 2008-05-09 19:33:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2008-05-09 19:33:00 +0200 |
commit | 3d7afaa86d4d170aacd4d287e70149d22172bf4f (patch) | |
tree | b011663a8b36ddbfb0cdba99433e92920e23e79f /tex/context/base/attr-ini.lua | |
parent | d948cb4eddff16f17051d8078b4c55cdd8e8f681 (diff) | |
download | context-3d7afaa86d4d170aacd4d287e70149d22172bf4f.tar.gz |
stable 2008.05.09 19:33
Diffstat (limited to 'tex/context/base/attr-ini.lua')
-rw-r--r-- | tex/context/base/attr-ini.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/attr-ini.lua b/tex/context/base/attr-ini.lua index a2e747902..2fd34a7e4 100644 --- a/tex/context/base/attr-ini.lua +++ b/tex/context/base/attr-ini.lua @@ -578,7 +578,7 @@ do return backends.pdf.literal(format("/%s cs /%s CS %s SCN %s scn",n,n,p,p)) end - local function rgbtocmyk(r,g,b) + local function rgbtocmyk(r,g,b) -- we could reduce return 1-r, 1-g, 1-b, 0 end @@ -610,7 +610,7 @@ do -- default color space function colors.gray(s) - return { 2, s, s, s, s, 0, 0, 0, s } + return { 2, s, s, s, s, 0, 0, 0, 1-s } end function colors.rgb(r,g,b) |