summaryrefslogtreecommitdiff
path: root/tex/context/base/lpdf-pdx.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2010-07-15 15:01:00 +0200
committerHans Hagen <pragma@wxs.nl>2010-07-15 15:01:00 +0200
commit84903d24d6d930438bb3cc4322c4b14271b713aa (patch)
tree7f5fca13da2c9e1c81e61fbcac67f61d55f13800 /tex/context/base/lpdf-pdx.lua
parentcb0c6e65703831a34d0ba909f703994a0825beac (diff)
downloadcontext-84903d24d6d930438bb3cc4322c4b14271b713aa.tar.gz
beta 2010.07.15 15:01
Diffstat (limited to 'tex/context/base/lpdf-pdx.lua')
-rw-r--r--tex/context/base/lpdf-pdx.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/tex/context/base/lpdf-pdx.lua b/tex/context/base/lpdf-pdx.lua
index 0a440c1e6..43b0b87dc 100644
--- a/tex/context/base/lpdf-pdx.lua
+++ b/tex/context/base/lpdf-pdx.lua
@@ -1,7 +1,7 @@
if not modules then modules = { } end modules ['lpdf-pdx'] = {
version = 1.001,
comment = "companion to lpdf-ini.mkiv",
- author = "Peter Rold and Hans Hagen",
+ author = "Peter Rolf and Hans Hagen",
copyright = "PRAGMA ADE / ConTeXt Development Team",
license = "see context related readme files",
}
@@ -87,7 +87,7 @@ end
local function embedprofile(colorspace,filename)
local colorspace = lower(colorspace)
- local n = codeinjections.useinternaliccprofile(colorspace,filename)
+ local n = codeinjections.useinternalICCprofile(colorspace,filename)
if n then
local a = pdfarray {
pdfconstant("ICCBased"),
@@ -124,8 +124,7 @@ function codeinjections.usePDFXoutputintent(id,name,reference,outputcondition,in
else
d["DestOutputProfile"] = pdfreference(icc)
end
- -- intents[#intents+1] = pdfdictionary(d)
- intents[#intents+1] = pdfreference(pdfflushobject(pdfdictionary(d))) -- nicer as separate object
+ intents[#intents+1] = pdfreference(pdfflushobject(pdfdictionary(d)))
end
local function flushoutputintents()