From c9176cf45a594fdbd6a8c60a8c53d3a75cfbbeb3 Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 22 Mar 2013 12:58:47 +0530 Subject: [PATCH] update indiancine.ma poster script --- scripts/poster.indiancinema.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/poster.indiancinema.py b/scripts/poster.indiancinema.py index d1c7e2fe..f2950001 100755 --- a/scripts/poster.indiancinema.py +++ b/scripts/poster.indiancinema.py @@ -31,7 +31,7 @@ def render_poster(title, director, year, frame, timeline, poster): draw = ImageDraw.Draw(poster_image) font_file = os.path.join(static_root, 'SourceSansProSemibold.ttf') font_size = {'cinema': 117, 'director': 32, 'title': 48, 'year': 426} - font_lightness = {'cinema': 0.7, 'director': 0.8, 'title': 0.8, 'year': 0.6} + font_lightness = {'cinema': 0.7, 'director': 0.8, 'title': 0.8, 'year': 0.5} poster_lightness = {'image': 0.2, 'text': 0.4} if year: @@ -51,7 +51,7 @@ def render_poster(title, director, year, frame, timeline, poster): if year: drawText( poster_image, - (-93, poster_height - timeline_height - font_size['year'] + 48), + (-93, poster_height - timeline_height - font_size['year'] + 6), year, font_file, font_size['year'],