Thread: epub3x cover
View Single Post
Old 12-13-2023, 05:33 PM   #6
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,827
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by azimuth View Post
For BookFusion, what part of the code do you suspect is effecting it's landscape mode?
This part of the code:

Code:
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  border: 0;
With that code you are forcing the image to take a full width and a full height (but honoring its proportion). And in fact, the image does that in BookFusion. I think the issue is originated by the way the ereader computes the width in landscape mode. The vast majority of readers use multicolumn CSS to display an epub in paginated mode and here BookFusion is taking the width of two columns.

Quote:
Could "@supports" possibly resolve it ?
I don't think so. Those properties are from CSS2 (so, even ADE Legacy supports them). If you, to show a cover, use a simple svg wrapper, the cover (in BookFusion) is displayed totally but aligned to the left, so very probably BookFusion is still taking a width of two columns (in landscape mode) but we can't see it because of the image alignment. If my hypothesis is correct, perhaps (I'm not sure) a solution can be achieved by using the "column-span: none" and/or "column-fill: auto" properties.

Last edited by RbnJrg; 12-13-2023 at 05:36 PM.
RbnJrg is offline   Reply With Quote