X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/12266a4397d9e344b7f95a19edc4a8df7cd5f9f0..57dc61cf3e34d3acd054383842be40b974e2e2cf:/librarian/cover.py?ds=inline 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