mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-01 22:25:46 -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
59a3ffd1a0
commit
9ade5d64fe
1 changed files with 9 additions and 10 deletions
|
@ -19,13 +19,13 @@ draw_with_footer() {
|
||||||
output_file=$2;
|
output_file=$2;
|
||||||
shift; shift
|
shift; shift
|
||||||
|
|
||||||
convert $input_file -fill white -font "$font" +dither \
|
convert $input_file -fill blue -font "$font" +dither -style oblique \
|
||||||
-pointsize 11 \
|
-pointsize 11 \
|
||||||
-gravity southwest \
|
-gravity southwest \
|
||||||
-draw "text 5,5 'https://freedoom.github.io/'" \
|
-draw "text 5,5 'Freedoom, © 2001-2017'" \
|
||||||
-gravity southeast \
|
-gravity southeast \
|
||||||
-draw "text 10,5 'Version: $VERSION'" \
|
-draw "text 10,5 '$VERSION'" \
|
||||||
"$@" \
|
"$@" \
|
||||||
$output_file
|
$output_file
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,9 +33,8 @@ if [ $# = 4 ]; then
|
||||||
draw_with_footer "$1" "$4" \
|
draw_with_footer "$1" "$4" \
|
||||||
-gravity north \
|
-gravity north \
|
||||||
-draw "image over 0,18 0,0 '$2'" \
|
-draw "image over 0,18 0,0 '$2'" \
|
||||||
-pointsize 20 \
|
-gravity south \
|
||||||
-draw "fill black stroke-width 4 stroke black text -5,160 '$3'" \
|
-draw "image over 0,-25 0,0 '$3'"
|
||||||
-draw "text -5,160 '$3'"
|
|
||||||
else
|
else
|
||||||
draw_with_footer "$1" "$2"
|
draw_with_footer "$1" "$2"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue