View Single Post
Old 02-07-2019, 08:34 AM   #3
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 1,303
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
Quote:
Originally Posted by Lodan View Post
Would be great to have the option to color the background of the PDF page other than the default white, and if possible too the font color.
It would be of great help to make is easier on the eyes for on screen PDFs reading.
This probably belongs in the calibre forum somewhere, but just so you know, you can post-process your PDF with k2pdfopt to do this. See the -colorbg and -colorfg options (see command-line usage).

E.g. k2pdfopt -mode copy -colorbg ffff00 -colorfg 0000ff mydoc.pdf

... would make the background yellow and the text blue. The drawback is that you would be required to convert the PDF to bitmapped form (but the text would still be searchable and selectable). See example attached.

k2pdfopt -colorfg 0000ff -colorbg ffffd0 -mode copy pooh.pdf

Also see my other recent post mentioning this.
Attached Files
File Type: pdf pooh.pdf (1.47 MB, 575 views)
File Type: pdf pooh_k2opt.pdf (496.9 KB, 538 views)

Last edited by willus; 02-07-2019 at 08:36 AM. Reason: Forgot attachments
willus is offline   Reply With Quote