summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/extension/internal/pdf-mini.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/extension/internal/pdf-mini.h b/src/extension/internal/pdf-mini.h
index 3b68ac66b..3ca529f7e 100644
--- a/src/extension/internal/pdf-mini.h
+++ b/src/extension/internal/pdf-mini.h
@@ -245,6 +245,11 @@ PdfObject *PdfFile::begin_page(double x0, double y0, double x1, double y1) {
<< " /MediaBox [ " << x0 << " " << y0 << " " << x1 << " " << y1 << " ]\n"
<< " /Resources " << obj_resources->get_id() << " 0 R\n"
<< " /Contents " << obj_contents->get_id() << " 0 R\n"
+ << " /Group\n"
+ << " << /Type /Group\n"
+ << " /S /Transparency\n"
+ << " /CS /DeviceRGB\n"
+ << " >>\n"
<< ">>\n";
end_object(obj_page);
puts(obj_page);