View Single Post
Old 06-20-2018, 11:24 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,394
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by birkmaggs View Post
I have tried numerous times to convert from to PDF to Epub, but I get more or less the same results:

Print one full line of text ->
Print one line about 80% of that size ->
Print newline.
Repeat.

The entire books looks like one giant book poetry couplets.

I have tired fiddling with the settings (not systematically) but it always looks the same.

Any ideas?
You can play with the conversion settings (enable heuristics and play with the line unwrap factor value) but my personal choice is to edit the converted epub using Sigil (calibre's builtin editor also works) and using regex to join lines using a saved search&replace. This clears up most of the odd lines and a quick skim locates the rest.

Basically, PDF is a lousy input format for conversion being oriented to displaying text in a very specific manner, on a specific page size and without text reflow.

Last edited by DNSB; 06-20-2018 at 11:30 PM.
DNSB is offline   Reply With Quote