Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Viewer

Notices

Reply
 
Thread Tools Search this Thread
Old 10-05-2024, 06:20 AM   #1
travger
Evangelist
travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.
 
travger's Avatar
 
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
travger is offline   Reply With Quote
Old 10-05-2024, 08:14 PM   #2
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,258
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:

Click image for larger version

Name:	MWSnap 2024-10-05, 20_12_26.png
Views:	43
Size:	503.1 KB
ID:	211222

I guess screenshots would be helpful!
Comfy.n is online now   Reply With Quote
Advert
Old 10-05-2024, 09:09 PM   #3
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,258
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?
Comfy.n is online now   Reply With Quote
Old 10-05-2024, 10:13 PM   #4
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,258
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
Attached Thumbnails
Click image for larger version

Name:	2024-10-05 22_03_07-bg.jpg
Views:	40
Size:	81.6 KB
ID:	211223  
Comfy.n is online now   Reply With Quote
Old 10-06-2024, 03:15 PM   #5
travger
Evangelist
travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.
 
travger's Avatar
 
Posts: 485
Karma: 270594
Join Date: Aug 2010
Device: palm tx, Windows7, Galaxy A5
Quote:
Originally Posted by Comfy.n View Post
Ah, and on the sides I believe there must be some space for the clickable triangles that turn pages
That's exactly what I mean! On your picture the blue image fills all the background, and text stretches to the very edge too. I can not resize the text separately from the image, so making margins bigger would result in too many frames - grey of the window, white of the background, and then img with text.

I have a nice old-book-like background image on old PC and the reading experience is hundred times better.
travger is offline   Reply With Quote
Advert
Old 10-06-2024, 04:07 PM   #6
travger
Evangelist
travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.
 
travger's Avatar
 
Posts: 485
Karma: 270594
Join Date: Aug 2010
Device: palm tx, Windows7, Galaxy A5
This is the view with light sepia background:
Click image for larger version

Name:	screenshot1.jpg
Views:	39
Size:	405.7 KB
ID:	211237


After adding image (with white background):
Click image for larger version

Name:	Screenshot2.jpg
Views:	40
Size:	341.9 KB
ID:	211238
travger is offline   Reply With Quote
Old 10-06-2024, 07:58 PM   #7
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,258
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
Comfy.n is online now   Reply With Quote
Old 10-06-2024, 08:06 PM   #8
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,258
Karma: 6426810
Join Date: Sep 2020
Device: Calibre E-book viewer
yeah, I've tried larger margins (33px) and I get the same issue:
Attached Thumbnails
Click image for larger version

Name:	MWSnap 2024-10-06, 20_04_22.png
Views:	23
Size:	466.1 KB
ID:	211256  
Comfy.n is online now   Reply With Quote
Old 10-07-2024, 01:37 AM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,540
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.
kovidgoyal is offline   Reply With Quote
Old 10-07-2024, 03:22 AM   #10
travger
Evangelist
travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.
 
travger's Avatar
 
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.
travger is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 12:22 AM.


MobileRead.com is a privately owned, operated and funded community.