View Single Post
Old 11-23-2020, 01:53 AM   #694
baggins41
Enthusiast
baggins41 has learned how to buy an e-book online
 
Posts: 26
Karma: 96
Join Date: Dec 2013
Device: Kindle Paperwhite (2nd Gen.)
Cover images no longer centered

I'm having an issue with the latest version. Images narrower than the cover are no longer centered horizontally:



I downloaded the plugin's git repository and identified the last commit that was working correctly as #2173f44dce5e30c4d195ec4158a3cd9f92518e4d ("GC: Remove draw_old.py, not needed in Cal v2+").

Unsurprisingly, the one that introduced the off-center behavior was a change to the way the "left" position variable is calculated (#1b7e5e72ab80d5c82884ad206faf64a63f5d5548 "GC: Fix for border causing img to move horz."), mentioned a few posts earlier in this thread.

I'm running this under Calibre v3.48

Last edited by baggins41; 11-23-2020 at 01:57 AM.
baggins41 is offline   Reply With Quote