[packages/evas-loaders-generic] - added poppler patch (fixes build with current poppler)

qboosh qboosh at pld-linux.org
Sun Oct 18 21:55:33 CEST 2015


commit edda3628b3385df07461ba0076d37e4d18d1f961
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Oct 18 21:56:39 2015 +0200

    - added poppler patch (fixes build with current poppler)

 evas-loaders-generic-poppler.patch | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
---
diff --git a/evas-loaders-generic-poppler.patch b/evas-loaders-generic-poppler.patch
new file mode 100644
index 0000000..303ee07
--- /dev/null
+++ b/evas-loaders-generic-poppler.patch
@@ -0,0 +1,26 @@
+--- evas_generic_loaders-1.10.0/src/bin/pdf/main.cpp.orig	2013-12-11 14:56:58.000000000 +0100
++++ evas_generic_loaders-1.10.0/src/bin/pdf/main.cpp	2015-10-18 20:21:56.289112059 +0200
+@@ -62,11 +62,6 @@
+    if (!eina_init())
+      goto del_global_param;
+ 
+-   if (globalParams->getAntialias())
+-     globalParams->setAntialias((char *)"yes");
+-   if (globalParams->getVectorAntialias())
+-     globalParams->setVectorAntialias((char *)"yes");
+-
+    pdfdoc = new PDFDoc(new GooString(file), NULL);
+    if (!pdfdoc)
+      goto del_global_param;
+@@ -161,6 +156,11 @@
+    if (!output_dev)
+      return;
+ 
++   if (output_dev->getFontAntialias())
++     output_dev->setFontAntialias(true);
++   if (output_dev->getVectorAntialias())
++     output_dev->setVectorAntialias(true);
++
+ #ifdef HAVE_POPPLER_020
+    output_dev->startDoc(pdfdoc);
+ #else
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/evas-loaders-generic.git/commitdiff/edda3628b3385df07461ba0076d37e4d18d1f961



More information about the pld-cvs-commit mailing list