r17784 by jghali - fix profile embedding being sometime incorrectly enabled for PDF-X/1a
scribus-commit
scribus-commit at lists.scribus.net
Fri Sep 28 20:11:36 UTC 2012
Author: jghali
Date: Fri Sep 28 20:11:36 2012
New Revision: 17784
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17784
Log:
fix profile embedding being sometime incorrectly enabled for PDF-X/1a
Modified:
trunk/Scribus/scribus/ui/tabpdfoptions.cpp
Modified: trunk/Scribus/scribus/ui/tabpdfoptions.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17784&path=/trunk/Scribus/scribus/ui/tabpdfoptions.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/tabpdfoptions.cpp (original)
+++ trunk/Scribus/scribus/ui/tabpdfoptions.cpp Fri Sep 28 20:11:36 2012
@@ -1660,6 +1660,7 @@
X3Group->setEnabled(false);
setTabEnabled(indexOf(tabSecurity), true);
OutCombo->setEnabled(true);
+ EmbedProfs->setEnabled(true);
EmbedProfs2->setEnabled(true);
emit hasInfo();
if (doc != 0 && pdfExport)
@@ -1670,6 +1671,7 @@
FromEmbed->setEnabled(true);
ToEmbed->setEnabled(true);
}
+ EnablePr(OutCombo->currentIndex());
return;
}
// PDF/X is selected
@@ -1677,8 +1679,16 @@
OutCombo->setCurrentIndex(1);
OutCombo->setEnabled(false);
EnablePr(1);
+ if (a == 3) // X1, no profile embedding
+ {
+ EmbedProfs->setChecked(false);
+ EmbedProfs->setEnabled(false);
+ EmbedProfs2->setChecked(false);
+ EmbedProfs2->setEnabled(false);
+ }
if ((a == 4) || (a == 5)) // X3 or X4, enforcing color profiles on images
{
+ EmbedProfs->setEnabled(true);
EmbedProfs2->setChecked(true);
EmbedProfs2->setEnabled(false);
}
More information about the scribus-commit
mailing list