[poppler] glib/poppler-annot.cc

Carlos Garcia Campos carlosgc at kemper.freedesktop.org
Sun Mar 30 03:26:57 PDT 2014


 glib/poppler-annot.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ac3c8303396a0b8de5e4ad32f480b8da5f3b396e
Author: Thomas Liebetraut <thomas at tommie-lie.de>
Date:   Sun Mar 30 12:25:26 2014 +0200

    glib: Fix the first coord of the qudrilateral in create_poppler_quads_from_annot_quads()
    
    https://bugs.freedesktop.org/show_bug.cgi?id=76504

diff --git a/glib/poppler-annot.cc b/glib/poppler-annot.cc
index 3d6ce7e..13bc768 100644
--- a/glib/poppler-annot.cc
+++ b/glib/poppler-annot.cc
@@ -304,7 +304,7 @@ create_poppler_quads_from_annot_quads (AnnotQuadrilaterals *quads_array)
     PopplerQuadrilateral *quadrilateral = &g_array_index (quads, PopplerQuadrilateral, i);
 
     quadrilateral->p1.x = quads_array->getX1(i);
-    quadrilateral->p1.y = quads_array->getX1(i);
+    quadrilateral->p1.y = quads_array->getY1(i);
     quadrilateral->p2.x = quads_array->getX2(i);
     quadrilateral->p2.y = quads_array->getY2(i);
     quadrilateral->p3.x = quads_array->getX3(i);


More information about the poppler mailing list