View Single Post
Old 10-25-2019, 12:09 AM   #5
jeffmcneill
Junior Member
jeffmcneill began at the beginning.
 
jeffmcneill's Avatar
 
Posts: 8
Karma: 10
Join Date: May 2011
Device: Kindle Paperwhite
Fantastic. Works great. I've just tweaked the css in the ebook, but for some reason it doesn't properly execute the line-height command, so the external --extra-css body{line-height:1.0} did the job.

Here are the full options I used from the command line:

ebook-convert test.epub test.pdf --custom-size 5x8 --pdf-hyphenate --pdf-page-numbers --pdf-serif-family "Linux Libertine" --pdf-page-margin-bottom 50 --pdf-page-margin-top 35 --pdf-page-margin-left 41 --pdf-page-margin-right 41 --pdf-default-font-size 17 --extra-css body{line-height:1.0}

Inside the epub css, I added: {letter-spacing:-0.008em; word-spacing:-0.016em;} to the body.
jeffmcneill is offline   Reply With Quote