|
|
Thread Tools | Search this Thread |
02-06-2019, 06:18 PM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2019
Device: none
|
Calibre PDF Output: Adding Background Rgb colors customization options and Font Color
Hi everyone!
New here. I have a request for the following feature if possible with PDFs. Adding Background Rgb colors customization options and Font Color customization options to the PDF output in Calibre converter 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 feature is currently available in Calibre> Epub viewer> Preferences> User Stylesheet tab. I use the following background color code within the viewer to read my epubs and would love to replicate them on my PDFs. Many thanks for your help. body { color: rgb(0,0,0); background-color:rgb(237,229,206); text-align:justify; line-spacing:1.8; margin-top:10px; margin-bottom:4px; margin-right:20px; margin-left:20px; text-indent:2em; } h1, h2, h3, h4, h5, h6 { color:black; text-align:center; font-style:italic; font-weight:bold;} Last edited by Lodan; 02-06-2019 at 06:26 PM. |
02-06-2019, 09:21 PM | #2 |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2019
Device: none
|
Hi again,
It is possible with Adobe Reader, and PDFElement as below: Why not in Calibre? https://www.youtube.com/watch?v=IO6KTVsZQkg https://youtu.be/G2JiejYzORk?t=37 Last edited by Lodan; 02-06-2019 at 09:23 PM. |
02-07-2019, 08:34 AM | #3 | |
Fuzzball, the purple cat
Posts: 1,283
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
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. Last edited by willus; 02-07-2019 at 08:36 AM. Reason: Forgot attachments |
|
02-08-2019, 10:02 AM | #4 |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2019
Device: none
|
Thanks willus for the idea and example.
I was looking for the feature in Calibre for the following application benefits: when converting epubs to PDFs in Calibre simply customizing the background color and fonts color. Would be great also to be able to convert Epubs to PDFs with custom background color and font color in Batch. It would be also of great help for dyslexic people, or people with reading disability wanting to convert their Epubs to PDF with Calibre. Would save time and steps. The customization is already available in Adobe Reader since 2013 at least as shown here: https://www.youtube.com/watch?v=IO6KTVsZQkg Here Kovid said (in 2016) it was difficult in Calibre: https://www.mobileread.com/forums/sh...d.php?t=273117 Why since it is possible in Adobe Reader since 2013? Thanks for any further help you can all provide. Cheers Last edited by Lodan; 02-08-2019 at 10:11 AM. |
02-09-2019, 06:34 AM | #5 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Calibre is open source. If you disagree with Kovid's view that it would be difficult, my suggestion would be to make the change yourself, and then submit the code changes to Calibre.
|
02-09-2019, 02:25 PM | #6 | |
Grand Sorcerer
Posts: 5,636
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
|
|
02-17-2019, 09:09 AM | #7 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2019
Device: none
|
Quote:
If yes, why/what needs to be done to make it feasible? Thanks for specific suggestions. |
|
02-17-2019, 09:09 AM | #8 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2019
Device: none
|
Quote:
|
|
Tags |
pdf and calibre, pdf as ebook, pdf background color, pdf custom colors, pdf font color |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Changing font color OR background color for an entry | dkperez | Library Management | 2 | 06-29-2015 11:50 PM |
Problem with font & background colors on the Ebook Viewer | darthktulu | Calibre | 3 | 10-27-2013 11:24 PM |
iBooks Text background color that is limited to font height? | FunkeXMix | ePub | 2 | 12-14-2012 12:27 PM |
font color and background | arslonga | ePub | 1 | 08-23-2011 04:23 AM |
Does HS support customizing background and font color? | Calvin998 | Reading and Management | 3 | 02-12-2004 04:36 PM |