fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some WLURI related fixes
[librarian.git]
/
librarian
/
cover.py
diff --git
a/librarian/cover.py
b/librarian/cover.py
index
9070344
..
f7d8f7d
100644
(file)
--- a/
librarian/cover.py
+++ b/
librarian/cover.py
@@
-118,6
+118,13
@@
class Cover(object):
return self.image().save(format=self.format, *args, **kwargs)
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
class VirtualoCover(Cover):
width = 600