From b6ee7da3bff1eaca3425bfdf074a979a48f3305e Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Wed, 5 Sep 2012 16:21:07 +0200 Subject: 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 3bb22684c3e0e865f1635ba52ea84630ff766b8c. --- vcl/source/gdi/pdfwriter_impl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index 47605557868f..a5d6a77828df 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -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) -- cgit