View Single Post
Old 05-13-2016, 05:45 AM   #27
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
Quote:
Originally Posted by kovidgoyal View Post
I had ten minutes, so I ported Generate Cover. Note I have only ported the code, not tested it (beyond that it runs). So someone that uses it should test it. Note that this plugin will not work with non-beta/older versions of calibre, as I lack the time/motivation to implement backward compatibility. If someone wants to implement backward comapatibilty the easiest way would be rename draw.py to draw2.py and conditionally import it based on calibre version.

EDIT : never mind, I implemented backwards compatibility as well
I tried out all the options I usually use, even sending a "new" book to device although I didn't think that would be affected either way. Only two things don't work as before. One minor, the other a bit more problematic -- for me anyway.
  1. The text alignment doesn't change. I only noticed because I usually have my custom text right-aligned, and now it remains centered. I tested all the alignments, and they stay centered. (Minor for me)
  2. The colors for the text do not change. Background color and Border color change but Stroke and Fill (for actual Text) do not change. 99% of the time this is fine, but I do have a series of covers that have a darker background, and I need the text to be white, or at least a lighter color. (More problematic for me)

I did change numbers and such for the options I don't usually use, and they seem to do as they should, as best as I can tell.
MerlinMama is offline   Reply With Quote