Closed IntermittentlyRupert closed 5 years ago
Need to check whether ebook-convert can do this if present (it probably can).
Here's my notes for changes I make to Calibre's default EPUB->PDF conversion settings for the current manual PDF generation process:
Page Setup
============
Output: Default Output Profile
Input: Default Input Profile
PDF Output
============
Paper Size: A4
Page numbers: Yes
Serif family: Adobe Garamond Pro
Standard font: serif
Default font size: 30px
Page margins: 72pt
I don't seem to have access to Adobe Garamond Pro, and specifying a default font size of 30 gives very bloated text. However, specifying the page size is very helpful (the default is 'letter' which doesn't work well).
Yeah, I've got Adobe Garamond by way of Photoshop.
You should be fine to substitute EB Garamond, which is freely available on Google Fonts (WOFF2) and github (TTF) under the Open Font License. It's Close Enough if Adobe Garamond isn't available (here's a comparison).
I'd prefer for the script to check for the existence of Adobe Garamond first, though, because it's a smidge nicer in a bunch of small ways. It can then fall back to EB Garamond or the system default as needed.
Default font size will have to vary by typeface.
Looks like mutool can do this pretty easily. I'll add a conditional block to the build script, shall I?