10-05-2024, 06:20 AM | #1 |
Evangelist
Posts: 485
Karma: 270594
Join Date: Aug 2010
Device: palm tx, Windows7, Galaxy A5
|
Image background in the Viewer
Calibre 7.19. viewer. How can I assign different margins to background image and text? Text is ok with just coloured background, but loses all margins as soon as I add a background image. 2-page landscape in paged mode.
I have tried different values in Page Layout and Styles, and nothing helps, text jumps to the edge of the background image. (no added CSS) Same book looks exactly as I want in Calibre 3.34 viewer. Also found that (without background pic) the values for maximum text area remain constant, which widens the margins when I enlarge the viewer window. please! Last edited by travger; 10-05-2024 at 06:21 AM. Reason: edit:typo |
10-05-2024, 08:14 PM | #2 |
want to learn what I want
Posts: 1,255
Karma: 6426810
Join Date: Sep 2020
Device: Calibre E-book viewer
|
Well, I don't use background images in the viewer but I can't see it losing margins on a quick test:
I guess screenshots would be helpful! |
Advert | |
|
10-05-2024, 09:09 PM | #3 |
want to learn what I want
Posts: 1,255
Karma: 6426810
Join Date: Sep 2020
Device: Calibre E-book viewer
|
BTW, I set lateral margins to 10 and top/bottom 25.
Perhaps you want the background to fill the headers and footers' space as well? |
10-05-2024, 10:13 PM | #4 |
want to learn what I want
Posts: 1,255
Karma: 6426810
Join Date: Sep 2020
Device: Calibre E-book viewer
|
Ah, and on the sides I believe there must be some space for the clickable triangles that turn pages
|
10-06-2024, 03:15 PM | #5 | |
Evangelist
Posts: 485
Karma: 270594
Join Date: Aug 2010
Device: palm tx, Windows7, Galaxy A5
|
Quote:
I have a nice old-book-like background image on old PC and the reading experience is hundred times better. |
|
Advert | |
|
10-06-2024, 04:07 PM | #6 |
Evangelist
Posts: 485
Karma: 270594
Join Date: Aug 2010
Device: palm tx, Windows7, Galaxy A5
|
|
10-06-2024, 07:58 PM | #7 |
want to learn what I want
Posts: 1,255
Karma: 6426810
Join Date: Sep 2020
Device: Calibre E-book viewer
|
hum I see. If that happens even if you add larger values to lateral margins, then it might be something needing a fix, I guess
|
10-06-2024, 08:06 PM | #8 |
want to learn what I want
Posts: 1,255
Karma: 6426810
Join Date: Sep 2020
Device: Calibre E-book viewer
|
yeah, I've tried larger margins (33px) and I get the same issue:
|
10-07-2024, 01:37 AM | #9 |
creator of calibre
Posts: 44,532
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The image background applies only to the text area, it does not apply to margins. This is for technical reasons and is not going to change. You need to either pick an image that blends into the background color or make the margins narrow enough.
|
10-07-2024, 03:22 AM | #10 |
Evangelist
Posts: 485
Karma: 270594
Join Date: Aug 2010
Device: palm tx, Windows7, Galaxy A5
|
Thanks for answering, and for the (otherwise) excellent program, Kovid.
That is really a bummer and loses (at least for me) all point of having an image for the background. Compared to 'old book' that I've been enjoying (in Win7), plain colour background feels much flatter. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Show info about the image in popup window of image viewer when reading an ebook | codychan | Calibre | 2 | 06-04-2021 06:04 PM |
[Browser Viewer] Embedded fonts and background image not shown in 5.15 | nqk | Server | 8 | 04-19-2021 10:25 PM |
[Browser Viewer] Background Image should covers margin | nqk | Server | 1 | 01-03-2021 01:07 AM |
svg image on top of a background png image | roger64 | ePub | 25 | 04-24-2015 12:00 PM |
[Kindle Touch] No Image viewer and pdf viewer with white margins | MaxPowerITA | Kindle Developer's Corner | 7 | 04-24-2012 06:27 AM |