X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/12266a4397d9e344b7f95a19edc4a8df7cd5f9f0..918a554570309fdddb8158b963fef3b3ae3c2c2b:/librarian/cover.py diff --git a/librarian/cover.py b/librarian/cover.py index 9070344..f7d8f7d 100644 --- a/librarian/cover.py +++ b/librarian/cover.py @@ -118,6 +118,13 @@ class Cover(object): return self.image().save(format=self.format, *args, **kwargs) +class WLCover(Cover): + author_font = ImageFont.truetype(get_resource('fonts/JunicodeWL-Italic.ttf'), 40) + title_font = ImageFont.truetype(get_resource('fonts/JunicodeWL-Italic.ttf'), 50) + logo_width = 250 + logo_bottom = 20 + + class VirtualoCover(Cover): width = 600