Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 05:55 AM   #1
GuruKast
Junior Member
GuruKast can spell AND pronounce 'liseuse.'GuruKast can spell AND pronounce 'liseuse.'GuruKast can spell AND pronounce 'liseuse.'GuruKast can spell AND pronounce 'liseuse.'GuruKast can spell AND pronounce 'liseuse.'GuruKast can spell AND pronounce 'liseuse.'GuruKast can spell AND pronounce 'liseuse.'GuruKast can spell AND pronounce 'liseuse.'GuruKast can spell AND pronounce 'liseuse.'GuruKast can spell AND pronounce 'liseuse.'GuruKast can spell AND pronounce 'liseuse.'
 
Posts: 7
Karma: 39902
Join Date: Feb 2026
Device: none
Alternative Book Height Calculation in Bookshelf View?

Good Day!
Not sure how the height calculation is done currently, but for variable book height, could we get one based on a formula using the cover image height/aspect ratio in some way? Perhaps as a "based on cover image" Checkbox?
Reason being, I would like my series to be the same height in a group, and this way the onus is on us (calibre users) to make sure covers are the same dimensions

Click image for larger version

Name:	2026-03-21_054642.jpg
Views:	29
Size:	201.0 KB
ID:	221934
GuruKast is online now   Reply With Quote
Old Yesterday, 08:01 AM   #2
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: 46,114
Karma: 29626208
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It's based on the book id. Basically a deterministic hash of the book id. As for making it controllable, that could be done, but using cover height is not viable as that would involve reading the cover image enough to get its dimensions during shelf layout calculation, which is too slow. The way to do it is to use a template similar to the width template, but that is rather a lot of work to implement.
kovidgoyal is offline   Reply With Quote
Advert
Old Yesterday, 09:22 AM   #3
GuruKast
Junior Member
GuruKast can spell AND pronounce 'liseuse.'GuruKast can spell AND pronounce 'liseuse.'GuruKast can spell AND pronounce 'liseuse.'GuruKast can spell AND pronounce 'liseuse.'GuruKast can spell AND pronounce 'liseuse.'GuruKast can spell AND pronounce 'liseuse.'GuruKast can spell AND pronounce 'liseuse.'GuruKast can spell AND pronounce 'liseuse.'GuruKast can spell AND pronounce 'liseuse.'GuruKast can spell AND pronounce 'liseuse.'GuruKast can spell AND pronounce 'liseuse.'
 
Posts: 7
Karma: 39902
Join Date: Feb 2026
Device: none
Hmm, yeah, speed is important; bookshelf view doesn't need to be any slower than it is. How about something along the lines of: when it's in group mode and it gets the group divider info (group name), it sets a group height based on the first-in-the-group calculation. All books in that group will then use that height setting, which only changes when the group name changes or when there's no group info. This should not really impact speed right? Not sure if I explained it clearly or the level of difficulty involved.
GuruKast is online now   Reply With Quote
Old Yesterday, 10:46 PM   #4
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: 46,114
Karma: 29626208
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...3e6a00f60e46c0
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bookshelf view - rounded book spines keith47733 Introduce Yourself 2 02-21-2026 07:43 AM
Is there still a bookshelf view? Panupat Calibre 10 07-01-2021 08:03 PM
Download bulk book details and list in bookshelf view jjjconnon Calibre Companion 5 10-22-2016 08:46 PM
book view and spacing constuctcts - height x% cybmole Sigil 3 11-08-2014 02:34 PM
Bookshelf view? MSWallack Marvin 9 12-06-2013 07:40 AM


All times are GMT -4. The time now is 04:52 PM.


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