![]() |
#1 |
Junior Member
![]() 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 |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2015
Device: Kindle
|
Worked perfectly, thank you!
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |