Lines 1-48
Link Here
|
1 |
# http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/revision/7371 |
|
|
2 |
|
3 |
CHANGES IN V1.0.72 |
4 |
|
5 |
+ - pdftoopvp: Adaptations to API changes on Poppler 0.34.0, note that |
6 |
+ this patch disables color management in this filter. Thanks to |
7 |
+ Vincent le Garrec and Andreas K. Huettel for the patch (Bug #1301, |
8 |
+ Gentoo bug #554782). |
9 |
- libcupsfilters, bannertopdf, foomatic-rip, gstoraster, pdftoijs, |
10 |
sys5ippprinter, pdftoopvp, pdftops, pdftoraster, rastertoescpx, |
11 |
urftopdf, texttopdf: Miscellaneous fixes for build compatibility with |
12 |
|
13 |
=== modified file 'filter/pdftoopvp/OPVPOutputDev.cxx' |
14 |
--- filter/pdftoopvp/OPVPOutputDev.cxx 2015-02-18 03:17:28 +0000 |
15 |
+++ filter/pdftoopvp/OPVPOutputDev.cxx 2015-07-14 19:22:49 +0000 |
16 |
@@ -1811,10 +1811,14 @@ |
17 |
#if POPPLER_VERSION_MAJOR <= 0 && (POPPLER_VERSION_MINOR <= 20 || (POPPLER_VERSION_MINOR == 21 && POPPLER_VERSION_MICRO <= 2)) |
18 |
maskSplash->drawImage(&imageSrc, &imgMaskData, |
19 |
splashModeMono8, gFalse, maskWidth, maskHeight, mat); |
20 |
-#else |
21 |
+#elif POPPLER_VERSION_MAJOR <= 0 && POPPLER_VERSION_MINOR <= 33 |
22 |
maskSplash->drawImage(&imageSrc, &imgMaskData, |
23 |
splashModeMono8, gFalse, maskWidth, maskHeight, |
24 |
mat,gFalse); |
25 |
+#else |
26 |
+ maskSplash->drawImage(&imageSrc, 0, &imgMaskData, |
27 |
+ splashModeMono8, gFalse, maskWidth, maskHeight, |
28 |
+ mat,gFalse); |
29 |
#endif |
30 |
delete imgMaskData.imgStr; |
31 |
maskStr->close(); |
32 |
|
33 |
=== modified file 'filter/pdftoopvp/oprs/OPRS.cxx' |
34 |
--- filter/pdftoopvp/oprs/OPRS.cxx 2013-01-09 10:42:32 +0000 |
35 |
+++ filter/pdftoopvp/oprs/OPRS.cxx 2015-07-14 19:22:49 +0000 |
36 |
@@ -240,8 +240,10 @@ |
37 |
if (rasterMode) { |
38 |
#if POPPLER_VERSION_MAJOR <= 0 && (POPPLER_VERSION_MINOR <= 20 || (POPPLER_VERSION_MINOR == 21 && POPPLER_VERSION_MICRO <= 2)) |
39 |
return splash->drawImage(src,srcData,srcMode,srcAlpha,w,h,mat); |
40 |
-#else |
41 |
+#elif POPPLER_VERSION_MAJOR <= 0 && POPPLER_VERSION_MINOR <= 33 |
42 |
return splash->drawImage(src,srcData,srcMode,srcAlpha,w,h,mat,gFalse); |
43 |
+#else |
44 |
+ return splash->drawImage(src,0,srcData,srcMode,srcAlpha,w,h,mat,gFalse); |
45 |
#endif |
46 |
} else { |
47 |
return opvpSplash->drawImage(src,srcData,srcMode,srcAlpha,w,h,mat); |
48 |
|