From 9261d53eb830a418e434fea98f8d2b5e6df8a988 Mon Sep 17 00:00:00 2001 From: Ayub Ahmed Date: Sat, 11 Mar 2017 10:44:04 +0600 Subject: [PATCH] create_caption: footer and text updates Use blue as fill color rather than white. Add oblique style to footer text. Replace URL with copyright notice. Removed "Version: " text from version footer. Use image rather than text to generate "Phase 1" and "Phase 2" words --- graphics/titlepic/create_caption | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/graphics/titlepic/create_caption b/graphics/titlepic/create_caption index 73a9cd73..84235620 100755 --- a/graphics/titlepic/create_caption +++ b/graphics/titlepic/create_caption @@ -19,13 +19,13 @@ draw_with_footer() { output_file=$2; shift; shift - convert $input_file -fill white -font "$font" +dither \ - -pointsize 11 \ - -gravity southwest \ - -draw "text 5,5 'https://freedoom.github.io/'" \ - -gravity southeast \ - -draw "text 10,5 'Version: $VERSION'" \ - "$@" \ + convert $input_file -fill blue -font "$font" +dither -style oblique \ + -pointsize 11 \ + -gravity southwest \ + -draw "text 5,5 'Freedoom, © 2001-2017'" \ + -gravity southeast \ + -draw "text 10,5 '$VERSION'" \ + "$@" \ $output_file } @@ -33,9 +33,8 @@ if [ $# = 4 ]; then draw_with_footer "$1" "$4" \ -gravity north \ -draw "image over 0,18 0,0 '$2'" \ - -pointsize 20 \ - -draw "fill black stroke-width 4 stroke black text -5,160 '$3'" \ - -draw "text -5,160 '$3'" + -gravity south \ + -draw "image over 0,-25 0,0 '$3'" else draw_with_footer "$1" "$2" fi