Comments (4)
diff --git a/src/ApvlvFile.cpp b/src/ApvlvFile.cpp
index c2a93fd..fe502bd 100644
--- a/src/ApvlvFile.cpp
+++ b/src/ApvlvFile.cpp
@@ -302,9 +302,14 @@ ApvlvPoses *ApvlvPDF::pagesearch (int pn, const char *str, bool reverse)
bool ApvlvPDF::pagetext (int pn, int x1, int y1, int x2, int y2, char **out)
{
- PopplerRectangle rect = { x1, y1, x2, y2 };
PopplerPage *page = poppler_document_get_page (mDoc, pn);
+#if POPPLER_CHECK_VERSION(0, 15, 1) - PopplerRectangle rect = { x1, y2, x2, y1 };
- *out = poppler_page_get_selected_text (page, POPPLER_SELECTION_WORD, &rect);
+#else - PopplerRectangle rect = { x1, y1, x2, y2 };
_out = poppler_page_get_text (page, POPPLER_SELECTION_WORD, &rect);
+#endif
if (_out != NULL)
{
return true;
from apvlv.
And, please read this link:
http://projects.archlinux.org/svntogit/community.git/tree/apvlv/repos/community-x86_64/PKGBUILD
from apvlv.
ok, this patch works fine, thanks.
On Wed, Jun 29, 2011 at 9:32 AM, naihe2010
[email protected]
wrote:
And, please read this link:
http://projects.archlinux.org/svntogit/community.git/tree/apvlv/repos/community-x86_64/PKGBUILDReply to this email directly or view it on GitHub:
#1 (comment)
from apvlv.
another issue:
It seems that apvlv didn't show the pdf index text.
(apvlv:10149): Gtk-CRITICAL **: IA__gtk_tree_store_append: assertion
`VALID_ITER (parent, tree_store)' failed
(apvlv:10149): Gtk-CRITICAL **: IA__gtk_tree_store_set_valist:
assertion `VALID_ITER (iter, tree_store)' failed
poppler-glib : 0.16.6
On Wed, Jun 29, 2011 at 10:16 AM, yang zou [email protected] wrote:
ok, this patch works fine, thanks.
On Wed, Jun 29, 2011 at 9:32 AM, naihe2010
[email protected]
wrote:And, please read this link:
http://projects.archlinux.org/svntogit/community.git/tree/apvlv/repos/community-x86_64/PKGBUILDReply to this email directly or view it on GitHub:
#1 (comment)
from apvlv.
Related Issues (20)
- Source ID xxxx was not found when attemting to remove it HOT 1
- src/ApvlvInfo.h:28: bad header guard HOT 1
- How do I build apvlv? HOT 5
- Some ~/.apvlvrc settings not applying HOT 1
- Feature request: improve documentation HOT 2
- Support XDG Base Directory Specification HOT 2
- Visual mode does not working properly and got GTK errors HOT 4
- Setting local settings doesn't seem to work and minimal view config
- epub.h not found HOT 4
- How to uninstall? HOT 2
- Does not respond to ZZ HOT 1
- Please let me use PageUp/PageDown HOT 1
- Please move ~/.apvlvinfo to $XDG_CACHE_HOME (default ~/.cache)
- Tab completion can only list .pdf files in Zsh HOT 1
- Question about the project's hosting HOT 2
- please upgrade apvlv to use webkit2gtk-4.1 OR webkitgtk-6.0 (GTK 4 and libsoup 3) HOT 2
- Provide a higher resolution icon HOT 1
- Would you add new tag version now? HOT 1
- Sina Weibo: naihe2010 is not exist in README.md HOT 1
- $HOME/.apvlvrc is not being read HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apvlv.