[Libreoffice-commits] .: vcl/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Sep 5 09:14:24 PDT 2012


 vcl/source/gdi/pdfwriter_impl.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b6ee7da3bff1eaca3425bfdf074a979a48f3305e
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Wed Sep 5 16:21:07 2012 +0200

    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.

diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 4760555..a5d6a77 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)


More information about the Libreoffice-commits mailing list