diff options
Diffstat (limited to 'src/extension/internal/pdf.cpp')
| -rw-r--r-- | src/extension/internal/pdf.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/extension/internal/pdf.cpp b/src/extension/internal/pdf.cpp index d4a15316b..c35e4d217 100644 --- a/src/extension/internal/pdf.cpp +++ b/src/extension/internal/pdf.cpp @@ -622,6 +622,13 @@ PrintPDF::print_fill_alpha(SVGOStringStream &os, SPStyle const *const style, NRR *pdf_xobj << " /S /Transparency\n";
*pdf_xobj << " /CS /DeviceGray \n";
*pdf_xobj << " >>\n";
+ *pdf_xobj << " /Resources\n";
+ *pdf_xobj << " <<\n";
+ *pdf_xobj << " /ProcSet [/PDF /Text /ImageB /ImageC /ImageI]\n";
+ *pdf_xobj << " /Shading << "
+ << pdf_alpha->get_name() << " "
+ << pdf_alpha->get_id() << " 0 R >>\n";
+ *pdf_xobj << " >>\n";
Inkscape::SVGOStringStream os_tmp;
os_tmp.setf(std::ios::fixed);
@@ -758,6 +765,13 @@ PrintPDF::print_fill_alpha(SVGOStringStream &os, SPStyle const *const style, NRR *pdf_xobj << " /S /Transparency\n";
*pdf_xobj << " /CS /DeviceGray \n";
*pdf_xobj << " >>\n";
+ *pdf_xobj << " /Resources\n";
+ *pdf_xobj << " <<\n";
+ *pdf_xobj << " /ProcSet [/PDF /Text /ImageB /ImageC /ImageI]\n";
+ *pdf_xobj << " /Shading << "
+ << pdf_alpha->get_name() << " "
+ << pdf_alpha->get_id() << " 0 R >>\n";
+ *pdf_xobj << " >>\n";
Inkscape::SVGOStringStream os_tmp;
os_tmp.setf(std::ios::fixed);
|
