SOURCES: perl-PDFLib-pdflib4.patch (NEW) - use code from PDFLib 0....
qboosh
qboosh at pld-linux.org
Fri Oct 27 22:54:24 CEST 2006
Author: qboosh Date: Fri Oct 27 20:54:24 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- use code from PDFLib 0.12 in add_image for pdflib_pl < 5
---- Files affected:
SOURCES:
perl-PDFLib-pdflib4.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/perl-PDFLib-pdflib4.patch
diff -u /dev/null SOURCES/perl-PDFLib-pdflib4.patch:1.1
--- /dev/null Fri Oct 27 22:54:24 2006
+++ SOURCES/perl-PDFLib-pdflib4.patch Fri Oct 27 22:54:19 2006
@@ -0,0 +1,17 @@
+--- PDFLib-0.14/PDFLib.pm.orig 2005-10-24 20:27:55.000000000 +0200
++++ PDFLib-0.14/PDFLib.pm 2006-10-27 22:56:31.687204750 +0200
+@@ -853,6 +853,14 @@
+
+ my $dpi = $params{dpi} || $DPI;
+
++ eval "use pdflib_pl 5.0";
++ if($@) {
++ PDF_place_image($pdf->_pdf, $params{img}->img,
++ $params{x},
++ $params{y},
++ $params{scale} || 1.0);
++ return;
++ }
+ if ($params{w}) {
+ PDF_fit_image($pdf->_pdf, $params{img}->img,
+ $params{x},
================================================================
More information about the pld-cvs-commit
mailing list