Mercurial > hg > batmud > maputils
changeset 936:4a1c68e3cef9
Adjust text position in PNG maps.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 03 May 2010 12:28:42 +0000 |
parents | a270cf5e0756 |
children | 9342d636bc21 |
files | maps/Makefile.inc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/maps/Makefile.inc Mon May 03 12:28:23 2010 +0000 +++ b/maps/Makefile.inc Mon May 03 12:28:42 2010 +0000 @@ -30,7 +30,7 @@ %.script: %.map %.loc $(MKLOC_BIN) -vS -m $< -l $(patsubst %.map,%.loc,$<) -f $(FONTSCALE) -u $(UNITSIZE) -s $(MAPSCALE) | \ sed -e "s/@OPTS_START@/-font $(FONT) -pointsize 14 -type TruecolorMatte/g" \ - -e "s/@OPTS_END@/\t-geometry +0+5 title.png -composite -compose screen \\\\\n\t-pointsize 20 -fill white -box none -draw \"text 10,35 \'@PAF@\n\n\n/g" | \ + -e "s/@OPTS_END@/\t-geometry +0+0 title.png -composite -compose screen \\\\\n\t-pointsize 20 -fill white -box none -draw \"text 5,50 \'@PAF@\n\n\n/g" | \ sed -e "/@PAF@/r $(patsubst %.map,%.desc,$<)" -e "s/@PAF@//g" > $@ %.ppm: %.map