SHARE
TWEET

pdf.c.patch

myra_nelson May 28th, 2011 85 Never
  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++;
RAW Paste Data
Top