r23915 by jghali - Explicitly disable document info marks for now when using PDF based printing

scribus-commit scribus-commit at lists.scribus.net
Thu Jul 9 21:59:26 UTC 2020


Author: jghali
Date: Thu Jul  9 21:59:26 2020
New Revision: 23915

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23915
Log:
Explicitly disable document info marks for now when using PDF based printing

Modified:
    trunk/Scribus/scribus/scprintengine_pdf.cpp

Modified: trunk/Scribus/scribus/scprintengine_pdf.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23915&path=/trunk/Scribus/scribus/scprintengine_pdf.cpp
==============================================================================
--- trunk/Scribus/scribus/scprintengine_pdf.cpp	(original)
+++ trunk/Scribus/scribus/scprintengine_pdf.cpp	Thu Jul  9 21:59:26 2020
@@ -81,6 +81,8 @@
 	PDFOptions pdfOptions;
 
 	pdfOptions.Version = PDFVersion::PDF_14;
+	
+	// Embed all fonts
 	pdfOptions.FontEmbedding = PDFOptions::EmbedFonts;
 	setupFontEmbedding(pdfOptions);
 
@@ -114,11 +116,10 @@
 	pdfOptions.bleedMarks = options.bleedMarks;
 	pdfOptions.registrationMarks = options.registrationMarks;
 	pdfOptions.colorMarks = options.colorMarks;
+	pdfOptions.docInfoMarks = false;
 	pdfOptions.markLength = options.markLength;
 	pdfOptions.markOffset = options.markOffset;
 	pdfOptions.bleeds = options.bleeds;
-
-	// Embed all fonts
 
 	// Generate PDF
 	QString errorString;




More information about the scribus-commit mailing list