From f2499cddcda9568dc8b893aabfe567e77999f79b Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 11 May 2006 09:24:05 +0000 Subject: [PATCH] Use imagemagick instead of ppmcaption. --- graphics/titlepic/create_caption | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/graphics/titlepic/create_caption b/graphics/titlepic/create_caption index 0df9f8c8..9e8c2562 100755 --- a/graphics/titlepic/create_caption +++ b/graphics/titlepic/create_caption @@ -1,10 +1,16 @@ #!/bin/sh -ppmcaption base.ppm output.ppm \ - \ - -font ncenB24.bdf -scale 0.34 -fg white -bg black \ - -pos 240,30 -right -text 'http://freedoom.sourceforge.net/' \ - \ - -font ncenB24.bdf -scale 0.34 -fg white -bg black \ - -pos -10,-10 -right -text 'Build Date: %a, %b %d %Y' \ - -pos -10,-25 -right -text "Version: $VERSION" +DATE=`date +%D` + +convert -fill white -font Helvetica-Bold \ + -pointsize 30 \ + -gravity north \ + -draw "text 0,30 Freedoom" \ + -pointsize 11 \ + -gravity southwest \ + -draw "text 5,5 'http://freedoom.sourceforge.net/'" \ + -gravity southeast \ + -draw "text 10,25 'Version: $VERSION'" \ + -draw "text 10,5 '$DATE'" \ + base.ppm output.png +