r22192 by gpittman -

scribus-commit scribus-commit at lists.scribus.net
Thu Oct 12 14:31:16 UTC 2017


Author: gpittman
Date: Thu Oct 12 14:31:16 2017
New Revision: 22192

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22192
Log:
applied patch for PDF Font embedding in Scripter

Modified:
    trunk/Scribus/scribus/plugins/scriptplugin/objpdffile.cpp

Modified: trunk/Scribus/scribus/plugins/scriptplugin/objpdffile.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22192&path=/trunk/Scribus/scribus/plugins/scriptplugin/objpdffile.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/objpdffile.cpp	(original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/objpdffile.cpp	Thu Oct 12 14:31:16 2017
@@ -349,7 +349,7 @@
 	}
 // font embedding mode
 	PyObject *embeddingMode = NULL;
-	embeddingMode = PyInt_FromLong(0);
+	embeddingMode = PyInt_FromLong(pdfOptions.FontEmbedding);
 	if (embeddingMode){
 		Py_DECREF(self->fontEmbedding);
 		self->fontEmbedding = embeddingMode;




More information about the scribus-commit mailing list