[evince] pdf: Fixed wrong order of QuadPoints in get_quads_for_area.
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] pdf: Fixed wrong order of QuadPoints in get_quads_for_area.
- Date: Sat, 13 Jun 2015 07:32:26 +0000 (UTC)
commit 230bcca488ae472773cef4658661deb487d3d5fb
Author: Philipp Reinkemeier <philipp reinkemeier offis de>
Date: Mon Jun 8 16:53:01 2015 +0200
pdf: Fixed wrong order of QuadPoints in get_quads_for_area.
https://bugzilla.gnome.org/show_bug.cgi?id=750569
backend/pdf/ev-poppler.cc | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc
index 1d25ed5..df662c8 100644
--- a/backend/pdf/ev-poppler.cc
+++ b/backend/pdf/ev-poppler.cc
@@ -3230,13 +3230,13 @@ get_quads_for_area (PopplerPage *page,
PopplerQuadrilateral *quad = &g_array_index (quads, PopplerQuadrilateral, i);
quad->p1.x = r->x1;
- quad->p1.y = height - r->y2;
+ quad->p1.y = height - r->y1;
quad->p2.x = r->x2;
- quad->p2.y = height - r->y2;
+ quad->p2.y = height - r->y1;
quad->p3.x = r->x1;
- quad->p3.y = height - r->y1;
+ quad->p3.y = height - r->y2;
quad->p4.x = r->x2;
- quad->p4.y = height - r->y1;
+ quad->p4.y = height - r->y2;
poppler_rectangle_free (r);
if (!bbox)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]