r18408 by jghali - #11687: PDF checker : bad empty warning

scribus-commit scribus-commit at lists.scribus.net
Thu Aug 1 22:34:22 UTC 2013


Author: jghali
Date: Thu Aug  1 22:34:21 2013
New Revision: 18408

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18408
Log:
#11687: PDF checker : bad empty warning

Modified:
    trunk/Scribus/scribus/ui/checkDocument.cpp
    trunk/Scribus/scribus/ui/checkDocument.h

Modified: trunk/Scribus/scribus/ui/checkDocument.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18408&path=/trunk/Scribus/scribus/ui/checkDocument.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/checkDocument.cpp (original)
+++ trunk/Scribus/scribus/ui/checkDocument.cpp Thu Aug  1 22:34:21 2013
@@ -280,6 +280,14 @@
 			pageGraveError = true;
 			itemError = true;
 			break;
+		case NotCMYKOrSpot:
+			item->setText(COLUMN_PROBLEM, notCMYKOrSpot);
+			item->setIcon(COLUMN_ITEM, onlyWarning);
+			itemError = true;
+		case FontNotEmbedded:
+			item->setText(COLUMN_PROBLEM, fontNotEmbedded);
+			item->setIcon(COLUMN_ITEM, graveError);
+			itemError = true;
 		default:
 			break;
 	};
@@ -683,6 +691,8 @@
 	isGIF = tr("Image is GIF");
 	WrongFont = tr("Annotation uses a non TrueType font");
 	partFilledImageFrame = tr("Image dimension is smaller than its frame");
+	notCMYKOrSpot = tr("Object colorspace is not CMYK or spot");
+	fontNotEmbedded =  tr("Imported document contains non embedded fonts");
 	//isGIFtoolTip = "<qt>" + tr("GIF images are not reccomended for print. See the online docs for more info") + "</qt>";
 }
 

Modified: trunk/Scribus/scribus/ui/checkDocument.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18408&path=/trunk/Scribus/scribus/ui/checkDocument.h
==============================================================================
--- trunk/Scribus/scribus/ui/checkDocument.h (original)
+++ trunk/Scribus/scribus/ui/checkDocument.h Thu Aug  1 22:34:21 2013
@@ -138,6 +138,8 @@
 	QString isGIFtoolTip;
 	QString WrongFont;
 	QString partFilledImageFrame;
+	QString notCMYKOrSpot;
+	QString fontNotEmbedded;
 
 	//! \brief Flag if is ignore button shown. true = hidden, false = shown.
 	bool noButton;




More information about the scribus-commit mailing list