12-25-2010, 10:12 PM | #1 |
Connoisseur
Posts: 54
Karma: 210
Join Date: Sep 2007
Device: iPad
|
why ePub -> PDF pages as images?
I have occasion to want to generate a searchable PDF from an ePub and thought that would be trivial in Calibre (0.7.35); however, it seems like what is generated from an ePub is a PDF of page images rather than searchable text. Am I doing something wrong or is this just how it is?
|
12-26-2010, 05:34 AM | #2 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
That should only happen if the ePub consists only of images in the first place.
|
Advert | |
|
12-26-2010, 07:55 PM | #3 | |
Connoisseur
Posts: 54
Karma: 210
Join Date: Sep 2007
Device: iPad
|
That is what I thought; however, I have run several tests on pure text ePub documents and the resulting PDFs appear to be sequences of images. When I try to select text for highlighting I get an alert:
Quote:
|
|
12-26-2010, 09:43 PM | #4 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Non searchable text and PDF links (internal and external) are a limitation of Qt's PDF printing which calibre uses for PDF output.
|
12-26-2010, 10:01 PM | #5 | |
Headbutting stupidity
Posts: 1,703
Karma: 2526196
Join Date: Aug 2010
Location: Greater Cph
Device: PRS650
|
Quote:
Not that that will help the OP one bit, but man, as if the list of workarounds-to-make-things-function-properly wasn't long enough in OS X. Last edited by AGB; 12-26-2010 at 10:05 PM. |
|
Advert | |
|
12-27-2010, 06:47 AM | #6 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
This doesn't have anything to do with OS X. This is an issue wtih Qt (the cross platform tool kit by Nokia that calibre uses for various things like the GUI). This same issue will be on all platforms.
|
12-27-2010, 07:12 AM | #7 |
Headbutting stupidity
Posts: 1,703
Karma: 2526196
Join Date: Aug 2010
Location: Greater Cph
Device: PRS650
|
Oh, I thought Qt was short for Quicktime. In my world, "QT" is Quicktime. Guess I was way too many years on that sucky platform (more than two decades), lol.
|
12-27-2010, 07:42 AM | #8 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Well, QT is QuickTime, and Qt is the framework
|
12-27-2010, 08:03 AM | #9 |
Headbutting stupidity
Posts: 1,703
Karma: 2526196
Join Date: Aug 2010
Location: Greater Cph
Device: PRS650
|
|
12-27-2010, 09:52 AM | #10 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
For the record: Windows XP, calibre 0.7.35 and the PDF file you attached was non-searchable and I was unable to cut and paste from it.
Quote:
PDF output settings Paper Size: Letter Orientation: Portrait Spoiler:
Are you saying calibre's viewer has this limit or the resultant pdf? I converted the example file to pdf and can search it and copy the text fine. Last edited by DoctorOhh; 12-27-2010 at 10:01 AM. |
|
12-27-2010, 10:21 AM | #11 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
The PDF. I have not seen it produce a searchable file in Linuxor OS X. However, I have never tried in Windows. I will need to investigate this further...
|
12-27-2010, 12:12 PM | #12 |
creator of calibre
Posts: 43,851
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's weird, I converted you epub to pdf in linux and calibre generated a text pdf for me, see attached.
EDIT: Crappy hotel internet is not letting me upload the file, but it has selectable text as per okular. Last edited by kovidgoyal; 12-27-2010 at 12:14 PM. |
12-27-2010, 12:33 PM | #13 | |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Quote:
Edit: I'm using OS X. |
|
12-27-2010, 12:38 PM | #14 |
creator of calibre
Posts: 43,851
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
dont have access to an OS X env right now, but it maybe that QtWebKit does something different on OS X
|
12-28-2010, 07:10 PM | #15 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
I've been playing with it and I've run into some major OS X issues with Qt's printing. I'm still stumped as to why ebook-convert is producing non-searchable PDFs and ebook-viewer can produce searchable ones...
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Classic Split PDF pages into smaller pages (images into tiles) | Astro | Barnes & Noble NOOK | 4 | 06-12-2020 10:56 AM |
Calibre PDF>>EPUB N° de pages | micheljo | Software | 2 | 10-13-2011 02:03 PM |
PDF to Epub - Images with Text | ebahm | Calibre | 2 | 09-19-2010 03:23 PM |
PDF to Epub (problem with pages) | violentlyserene | Calibre | 1 | 08-22-2010 10:38 AM |
Sony reader for PDF files: pages as images | claudioita | Sony Reader | 3 | 07-30-2007 02:46 PM |