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 03-13-2017, 06:37 PM   #1
Paulo27
Junior Member
Paulo27 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2017
Device: none
Some questions about EPUB to PDF conversion

Hello.

Recently I have been trying to convert some EPUBs to PDFs using calibre through the command line and have some questions.

Is there a way to set a base font but have it be overwritten if the EPUB has other base fonts set? I'm using --embed-font-family and it works like how I want with EPUBs which don't have any style or embed fonts but I'd like it to ignore that option if it finds styles with set fonts. The manual says it might get ignored but that doesn't seem to be the case. It does ignore it for some of the text, like if there's italics it'll use its embed font instead of the one I set, and the one I set shows italics fine in other documents without embed fonts. Without that option (--embed-font-family) all the embed fonts get rendered fine.

I'm also currently facing an issue where some images get split (they bleed into the next page). When using the UI conversion this doesn't happen. I tried using both (UI and command line) without any additional options and (I think) with the default settings on the UI and it generated different results.
Any idea what might be causing this?

And is there any options for handling images at all? Like making images ignore the set margins.

Thanks.
Paulo27 is offline   Reply With Quote
Old 03-14-2017, 01:15 AM   #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
The font options in the PDF output section of the conversion dialog do exactly that. As for image splitting, no there is no way to control that. And if you see a differentce between GUI and command line then some conversion parameters must be different, since the conversion code used is the same.
kovidgoyal is offline   Reply With Quote
Advert
Old 03-14-2017, 11:26 AM   #3
Paulo27
Junior Member
Paulo27 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2017
Device: none
I should have paid more attention to the output section.
Also figured out why images were splitting by remembering calibre had a job log and trying out the settings the GUI converter was using. Apparently it was a rather specific combination of page size and margins (granted, I was only having this issue for a couple images out of dozens too).

Thanks for help.
Paulo27 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ePub to ePub conversion for Kobo Touch — some questions/observations, etc. theboyk Conversion 13 10-02-2012 04:11 AM
PDF to MOBI Conversion Questions pureambient Conversion 4 10-31-2011 12:09 PM
2 Questions about my epub/pdf book Ducklet General Discussions 8 06-12-2011 07:15 PM
New conversion questions: Getting rid of huge left margin Epub to Mobi geekgeek Calibre 2 08-31-2010 11:00 PM
Conversion of DOC to EPUB under Linux (Ubuntu 9.10), and a couple of other questions booksonthemove Calibre 3 02-21-2010 01:26 PM


All times are GMT -4. The time now is 04:56 PM.


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