fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes
[librarian.git]
/
src
/
librarian
/
covers
/
widgets
/
title.py
diff --git
a/src/librarian/covers/widgets/title.py
b/src/librarian/covers/widgets/title.py
index
7d070ca
..
d5a6334
100644
(file)
--- a/
src/librarian/covers/widgets/title.py
+++ b/
src/librarian/covers/widgets/title.py
@@
-1,3
+1,6
@@
+# This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
+#
import PIL.ImageFont
from librarian import get_resource
from librarian.cover import Metric
import PIL.ImageFont
from librarian import get_resource
from librarian.cover import Metric
@@
-21,7
+24,7
@@
class TitleBox(Widget):
title_font = PIL.ImageFont.truetype(
get_resource('fonts/SourceSans3VF-Roman.ttf'),
self.m.font_size,
title_font = PIL.ImageFont.truetype(
get_resource('fonts/SourceSans3VF-Roman.ttf'),
self.m.font_size,
- layout_engine=PIL.ImageFont.L
AYOUT_
BASIC
+ layout_engine=PIL.ImageFont.L
ayout.
BASIC
)
title_font.set_variation_by_axes([800])
)
title_font.set_variation_by_axes([800])