summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2269695)
raw | patch | inline | side by side (parent: 2269695)
author | ulferikson <ulferikson@users.sourceforge.net> | |
Tue, 8 Aug 2006 16:58:09 +0000 (16:58 +0000) | ||
committer | ulferikson <ulferikson@users.sourceforge.net> | |
Tue, 8 Aug 2006 16:58:09 +0000 (16:58 +0000) |
Bug and solution found by gomyhr.
src/extension/internal/pdf.cpp | patch | blob | history |
index d4a15316b619e64c4de9de3aba86661a5f7c004a..c35e4d217e9391df54562d2f750355c100e9a3a3 100644 (file)
@@ -622,6 +622,13 @@ PrintPDF::print_fill_alpha(SVGOStringStream &os, SPStyle const *const style, NRR
*pdf_xobj << " /S /Transparency\n";\r
*pdf_xobj << " /CS /DeviceGray \n";\r
*pdf_xobj << " >>\n";\r
+ *pdf_xobj << " /Resources\n";\r
+ *pdf_xobj << " <<\n";\r
+ *pdf_xobj << " /ProcSet [/PDF /Text /ImageB /ImageC /ImageI]\n";\r
+ *pdf_xobj << " /Shading << "\r
+ << pdf_alpha->get_name() << " "\r
+ << pdf_alpha->get_id() << " 0 R >>\n";\r
+ *pdf_xobj << " >>\n";\r
\r
Inkscape::SVGOStringStream os_tmp;\r
os_tmp.setf(std::ios::fixed);\r
@@ -758,6 +765,13 @@ PrintPDF::print_fill_alpha(SVGOStringStream &os, SPStyle const *const style, NRR
*pdf_xobj << " /S /Transparency\n";\r
*pdf_xobj << " /CS /DeviceGray \n";\r
*pdf_xobj << " >>\n";\r
+ *pdf_xobj << " /Resources\n";\r
+ *pdf_xobj << " <<\n";\r
+ *pdf_xobj << " /ProcSet [/PDF /Text /ImageB /ImageC /ImageI]\n";\r
+ *pdf_xobj << " /Shading << "\r
+ << pdf_alpha->get_name() << " "\r
+ << pdf_alpha->get_id() << " 0 R >>\n";\r
+ *pdf_xobj << " >>\n";\r
\r
Inkscape::SVGOStringStream os_tmp;\r
os_tmp.setf(std::ios::fixed);\r