r23875 by jghali - Add base code for PDF-based print engine
scribus-commit
scribus-commit at lists.scribus.net
Thu Jun 4 10:58:27 UTC 2020
Author: jghali
Date: Thu Jun 4 10:58:27 2020
New Revision: 23875
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23875
Log:
Add base code for PDF-based print engine
Modified:
trunk/Scribus/scribus/scprintengine_pdf.cpp
Modified: trunk/Scribus/scribus/scprintengine_pdf.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23875&path=/trunk/Scribus/scribus/scprintengine_pdf.cpp
==============================================================================
--- trunk/Scribus/scribus/scprintengine_pdf.cpp (original)
+++ trunk/Scribus/scribus/scprintengine_pdf.cpp Thu Jun 4 10:58:27 2020
@@ -81,6 +81,9 @@
PDFOptions pdfOptions;
pdfOptions.Version = PDFVersion::PDF_14;
+ pdfOptions.FontEmbedding = PDFOptions::EmbedFonts;
+ setupFontEmbedding(pdfOptions);
+
pdfOptions.doClip = options.doClip;
pdfOptions.MirrorH = options.mirrorH;
pdfOptions.MirrorV = options.mirrorV;
@@ -114,6 +117,8 @@
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