Advertisement
myra_nelson

pdf.c.patch

May 28th, 2011
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. --- pdf.c.orig 2011-05-28 15:03:21.758498636 -0500
  2. +++ pdf.c 2011-05-28 15:03:51.043135161 -0500
  3. @@ -407,11 +407,9 @@
  4. poppler_page_get_size (PDFPage, &width, &height);
  5. queue->rect->x2 = width;
  6. queue->rect->y2 = height;
  7. -#ifdef HAVE_POPPLER_1_4_1
  8. - page = poppler_page_get_selected_text (PDFPage, POPPLER_SELECTION_LINE, queue->rect);
  9. -#else
  10. - page = poppler_page_get_text (PDFPage, POPPLER_SELECTION_LINE, queue->rect);
  11. -#endif
  12. +
  13. + page = poppler_page_get_text (PDFPage);
  14. +
  15. set_text (queue->ebook, page, queue->lines, queue->pagenums, queue->hyphens);
  16. g_free (page);
  17. queue->c++;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement