Quantcast
Channel: MobileRead Forums - Conversion
Viewing all articles
Browse latest Browse all 3902

XVFB epub to PDF Cuts Off Sentences

$
0
0
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)
File Type: pdf book107-desktop.pdf (590.0 KB)
File Type: pdf book107-xvfb.pdf (640.3 KB)

Viewing all articles
Browse latest Browse all 3902

Trending Articles