diff options
author | drochner <drochner> | 2011-02-12 14:18:35 +0000 |
---|---|---|
committer | drochner <drochner> | 2011-02-12 14:18:35 +0000 |
commit | fd3f6dae8e3c720da8510fda7e06677ae230fde7 (patch) | |
tree | 7a3753221dd8ef1529149155ef4057b859af0266 /print | |
parent | e76fbb879d22b06abfe2430a7b99d55f911b7efc (diff) | |
download | pkgsrc-fd3f6dae8e3c720da8510fda7e06677ae230fde7.tar.gz |
make the last patch work correctly
Diffstat (limited to 'print')
-rw-r--r-- | print/epdfview/distinfo | 4 | ||||
-rw-r--r-- | print/epdfview/patches/patch-ac | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/print/epdfview/distinfo b/print/epdfview/distinfo index 14423c1dddf..c0cae8bbff5 100644 --- a/print/epdfview/distinfo +++ b/print/epdfview/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.5 2011/02/12 10:00:07 tnn Exp $ +$NetBSD: distinfo,v 1.6 2011/02/12 14:18:35 drochner Exp $ SHA1 (epdfview-0.1.7.tar.bz2) = ff46942c285b8e2c28766a38cdfce1a018b4a015 RMD160 (epdfview-0.1.7.tar.bz2) = 485399d1982a3f8128322ee7e13d46225573bae3 Size (epdfview-0.1.7.tar.bz2) = 443609 bytes SHA1 (patch-aa) = 6c5b2766836cf3610c92feb5fdcc5de0dd75534d SHA1 (patch-ab) = 67ab5dd3c5c2d4af5e2aeddc77e4714c9e96b008 -SHA1 (patch-ac) = 979978571cb5f0972ecea6f40d65a3e0bf7b7556 +SHA1 (patch-ac) = bca1aa97617ba41a13bd0dfa3c8db44d726e4f9a diff --git a/print/epdfview/patches/patch-ac b/print/epdfview/patches/patch-ac index 1d9714b4734..bcc33f547e4 100644 --- a/print/epdfview/patches/patch-ac +++ b/print/epdfview/patches/patch-ac @@ -1,8 +1,17 @@ -$NetBSD: patch-ac,v 1.1 2011/02/12 10:00:08 tnn Exp $ +$NetBSD: patch-ac,v 1.2 2011/02/12 14:18:35 drochner Exp $ --- src/PDFDocument.cxx.orig 2009-02-28 21:00:35.000000000 +0000 +++ src/PDFDocument.cxx -@@ -686,7 +686,7 @@ PDFDocument::setTextSelection (DocumentR +@@ -680,13 +680,13 @@ PDFDocument::setTextSelection (DocumentR + + //for get text we must exchange y coordinate, don't ask me where logic here. + PopplerRectangle textRect = { rect->getX1() / getZoom(), +- (pageHeight - rect->getY2() / getZoom()), +- rect->getX2() * getZoom() / getZoom(), +- (pageHeight - rect->getY1() / getZoom())}; ++ rect->getY1() / getZoom(), ++ rect->getX2() / getZoom(), ++ rect->getY2() / getZoom()}; repairEmpty(textRect); #if defined (HAVE_POPPLER_0_6_0) |