mirror of
https://github.com/freedoom/freedoom.git
synced 2025-08-31 20:16:55 -04:00
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
This commit is contained in:
parent
0b49114ed8
commit
9261d53eb8
1 changed files with 9 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue