View Single Post
Old 10-21-2019, 09:33 AM   #17
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by adamslast View Post
It is related cover page structure. I solved it as I explain below:
Open the book in Calibre -> "Edit Book", choose cover or titlepage (depend the book) page, find the line defining the cover picture like:
<image width="1027" height="1499" xlink:href="cover.jpeg"/>
and add style="height:100%; text-align:center;" text after jpeg". It will be:
<image width="1027" height="1499" xlink:href="cover.jpeg" style="height:100%; text-align:center;"/>
Then save and close Edit Book. The new corrected book's cover will be seen in full size on your Kobo.
That line looks like the image link inside an svg tag. That might have a "preserveAspectRatio" attribute. If so, setting this to "xMidYMid meet" should preserve the aspect ratio and fill the screen.

But, you can try the "Add cover" tool. This will let you select the image in the book and set whether to preserve the aspect ratio. It then generates the cover page code to fill the screen.
davidfor is offline   Reply With Quote