Revert "Relax ICC profile version for PDF/1-a to 2.4"
The lcms2 author advises 2.1 and that is the version we advertize
in the name of the embedded icc file.
This reverts commit 3bb22684c3
.
This commit is contained in:
parent
bedbb471c3
commit
b6ee7da3bf
1 changed files with 2 additions and 2 deletions
|
@ -6563,8 +6563,8 @@ sal_Int32 PDFWriterImpl::emitOutputIntent()
|
|||
beginCompression();
|
||||
checkAndEnableStreamEncryption( nICCObject );
|
||||
cmsHPROFILE hProfile = cmsCreate_sRGBProfile();
|
||||
//force ICC profile version 2.4
|
||||
cmsSetProfileVersion(hProfile, 2.4);
|
||||
//force ICC profile version 2.1
|
||||
cmsSetProfileVersion(hProfile, 2.1);
|
||||
cmsUInt32Number nBytesNeeded = 0;
|
||||
cmsSaveProfileToMem(hProfile, NULL, &nBytesNeeded);
|
||||
if (!nBytesNeeded)
|
||||
|
|
Loading…
Reference in a new issue