View Single Post
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