Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 04-19-2015, 01:07 PM   #1
s1rc
Junior Member
s1rc began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2015
Device: Kindle
XVFB epub to PDF Cuts Off Sentences

I'm trying to convert epubs to PDF on a headless server with Calibre's ebook-convert. Because the server is headless I have to use xvfb to run ebook-convert for QT support. Unfortunately there is quite a difference between the PDF's generated on a desktop Ubuntu system vs the headless server.

The PDF's generated through xvfb will have page breaks in the middle of a line of text, splitting the text between two pages. I've attached the original epub, as well as the two PDF's generated, desktop and xvfb. I've tried various output profiles and formatting settings but the issue still persists. Is there any setting that can be used to have the PDF generated with xvfb look like the desktop version?

For the attached files there were no flags used, just plain:
Code:
ebook-convert book1.epub book1.pdf
xvfb-run ebook-convert book1.epub book1.pdf
Attached Files
File Type: epub book107.epub (831.4 KB, 87 views)
File Type: pdf book107-desktop.pdf (590.0 KB, 109 views)
File Type: pdf book107-xvfb.pdf (640.3 KB, 104 views)
s1rc is offline   Reply With Quote
Old 04-19-2015, 10:25 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre >= 2.0 does not require xvfb. You are probably converting using an ancient version of calibre. Update it.
kovidgoyal is offline   Reply With Quote
Advert
Old 04-20-2015, 10:11 AM   #3
s1rc
Junior Member
s1rc began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2015
Device: Kindle
Worked perfectly, thank you!
s1rc is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
conversion to pdf cuts off first couple letters acdrew0 Conversion 1 02-23-2015 10:23 PM
ePub->pdf:Please help to overcome long standing Kindle pdf bug EbokJunkie Conversion 4 01-25-2015 12:44 PM
ePub to PDF conversion: lost coloured sentences marcbook Calibre 0 12-25-2013 11:12 AM
Raspberry Pi: ebook-convert only with xvfb (html to pdf) Raimond Conversion 1 09-17-2013 09:01 AM
Calibre PDF to RTF conversion doesn't reflow sentences anymore Josieb1 Conversion 8 08-03-2012 02:49 AM


All times are GMT -4. The time now is 07:50 AM.


MobileRead.com is a privately owned, operated and funded community.