diff options
author | Reinhard Kotucha <reinhard.kotucha@web.de> | 2014-04-15 13:38:30 +0000 |
---|---|---|
committer | Reinhard Kotucha <reinhard.kotucha@web.de> | 2014-04-15 13:38:30 +0000 |
commit | 0386d5bea367e662c9d30b3cae77d4199e485a01 (patch) | |
tree | 40b607475e25072e9cfa082ec5263636f25f09fb /Master/tlpkg/tlgs/lib/PDFA_def.ps | |
parent | c982c2e03fe6f29206c7a25e9d378251289dcf36 (diff) |
Reverted to gs-9.10 due to severe bugs reported by Ulrike and Heiko.
git-svn-id: svn://tug.org/texlive/trunk@33453 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/tlgs/lib/PDFA_def.ps')
-rw-r--r-- | Master/tlpkg/tlgs/lib/PDFA_def.ps | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/Master/tlpkg/tlgs/lib/PDFA_def.ps b/Master/tlpkg/tlgs/lib/PDFA_def.ps index f0ff0d1b6f9..3923d5fb21a 100644 --- a/Master/tlpkg/tlgs/lib/PDFA_def.ps +++ b/Master/tlpkg/tlgs/lib/PDFA_def.ps @@ -1,31 +1,22 @@ %! % This is a sample prefix file for creating a PDF/A document. % Feel free to modify entries marked with "Customize". + % This assumes an ICC profile to reside in the file (ISO Coated sb.icc), % unless the user modifies the corresponding line below. % Define entries in the document Info dictionary : -/ICCProfile (srgb.icc) % Customise + +/ICCProfile (ISO Coated sb.icc) % Customize. def -[ /Title (Title) % Customise +[ /Title (Title) % Customize. /DOCINFO pdfmark % Define an ICC profile : [/_objdef {icc_PDFA} /type /stream /OBJ pdfmark -[{icc_PDFA} -<< - /N currentpagedevice /ProcessColorModel known { - currentpagedevice /ProcessColorModel get dup /DeviceGray eq - {pop 1} { - /DeviceRGB eq - {3}{4} ifelse - } ifelse - } { - (ERROR, unable to determine ProcessColorModel) == flush - } ifelse ->> /PUT pdfmark +[{icc_PDFA} <</N systemdict /ProcessColorModel get /DeviceGray eq {1} {4} ifelse >> /PUT pdfmark [{icc_PDFA} ICCProfile (r) file /PUT pdfmark % Define the output intent dictionary : @@ -35,6 +26,6 @@ def /Type /OutputIntent % Must be so (the standard requires). /S /GTS_PDFA1 % Must be so (the standard requires). /DestOutputProfile {icc_PDFA} % Must be so (see above). - /OutputConditionIdentifier (sRGB) % Customize + /OutputConditionIdentifier (CGATS TR001) % Customize >> /PUT pdfmark [{Catalog} <</OutputIntents [ {OutputIntent_PDFA} ]>> /PUT pdfmark |