doc/share/images/callouts/gen.sh
Gabor Kovesdan 77d737ee88 - Rename the share/sgml directories to share/xml
- Fix build errors from the next change

Approved by:	doceng (implicit)
2012-10-01 11:56:00 +00:00

18 lines
632 B
Bash

#!/bin/sh
# $FreeBSD$
# For more than 30 adjust %callout-graphics-number-limit%
# in doc/share/xml/freebsd-html.dsl
for i in `jot 9 1`
do
convert -size 101x101 xc:green -transparent green -fill black -draw 'circle 50,50 50' -fill white -stroke none -pointsize 90 -gravity center -kerning -5 -font Helvetica-bold -draw "text 0,5 \"$i\"" -scale '12x12' $i.png
done
for i in `jot 21 10`
do
convert -size 101x101 xc:green -transparent green -fill black -draw 'circle 50,50 50' -fill white -stroke none -pointsize 80 -gravity center -kerning -5 -font Helvetica-bold -draw "text 0,5 \"$i\"" -scale '12x12' $i.png
done
exit 0