diff options
Diffstat (limited to 'stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/images/callouts/gen.sh')
-rwxr-xr-x | stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/images/callouts/gen.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/images/callouts/gen.sh b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/images/callouts/gen.sh new file mode 100755 index 000000000..954a805c9 --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/images/callouts/gen.sh @@ -0,0 +1,23 @@ +#!/bin/sh + +# $FreeBSD$ + +# +# This script was taken from FreeBSD. +# +# It uses ImageMagick to generate callout icons. +# + +for i in `jot 9 1` +do + convert -size 202x202 xc:green -transparent green -fill black -draw 'circle 100,100 100' -fill white -stroke none -pointsize 160 -gravity center -kerning -5 -font Helvetica-bold -draw "text 0,5 \"$i\"" -scale '24x24' $i.png + convert -size 202x202 xc:green -transparent green -fill black -draw 'circle 100,100 100' -fill white -stroke none -pointsize 160 -gravity center -kerning -5 -font Helvetica-bold -draw "text 0,5 \"$i\"" -scale '24x24' $i.svg +done + +for i in `jot 21 10` +do + convert -size 202x202 xc:green -transparent green -fill black -draw 'circle 100,100 100' -fill white -stroke none -pointsize 140 -gravity center -kerning -5 -font Helvetica-bold -draw "text 0,5 \"$i\"" -scale '24x24' $i.png + convert -size 202x202 xc:green -transparent green -fill black -draw 'circle 100,100 100' -fill white -stroke none -pointsize 140 -gravity center -kerning -5 -font Helvetica-bold -draw "text 0,5 \"$i\"" -scale '24x24' $i.svg +done + +exit 0 |