}
def __init__(self, book_info, format=None, width=None, height=None):
}
def __init__(self, book_info, format=None, width=None, height=None):
author_font = ImageFont.truetype(
self.author_font_ttf, metr.author_font_size)
author_font = ImageFont.truetype(
self.author_font_ttf, metr.author_font_size)
- tbox.text(self.pretty_author(), self.author_color, author_font, metr.author_lineskip, self.author_shadow)
+ for pa in self.pretty_authors():
+ tbox.text(pa, self.author_color, author_font, metr.author_lineskip, self.author_shadow)
text_img = tbox.image()
img.paste(text_img, (metr.author_margin_left, top), text_img)
text_img = tbox.image()
img.paste(text_img, (metr.author_margin_left, top), text_img)
box = TextBox(metr.title_box_width, metr.height, padding_y=metr.box_padding_y)
author_font = ImageFont.truetype(
self.author_font_ttf, metr.author_font_size)
box = TextBox(metr.title_box_width, metr.height, padding_y=metr.box_padding_y)
author_font = ImageFont.truetype(
self.author_font_ttf, metr.author_font_size)