From f1ef3f2a36c23da049d9ac1b8b9289b9ee7f7e31 Mon Sep 17 00:00:00 2001 From: Aris Date: Fri, 29 May 2015 14:40:51 +0300 Subject: [PATCH 1/2] Update gif.php --- gif.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gif.php b/gif.php index 8233aa4..988f435 100755 --- a/gif.php +++ b/gif.php @@ -18,11 +18,11 @@ $delay = 100;// milliseconds $font = array( - 'size'=>23, // Font size, in pts usually. + 'size'=>18, // Font size, in pts usually. 'angle'=>0, // Angle of the text 'x-offset'=>7, // The larger the number the further the distance from the left hand side, 0 to align to the left. 'y-offset'=>30, // The vertical alignment, trial and error between 20 and 60. - 'file'=>'./GillSans.ttc', // Font path + 'file'=>'./Futura.ttc', // Font path 'color'=>imagecolorallocate($image, 55, 160, 130), // RGB Colour of the text ); for($i = 0; $i <= 60; $i++){ @@ -66,4 +66,4 @@ header( 'Cache-Control: post-check=0, pre-check=0', false ); header( 'Pragma: no-cache' ); $gif = new AnimatedGif($frames,$delays,$loops); - $gif->display(); \ No newline at end of file + $gif->display(); From 1e747abd11d0eeb23eeed3ec5d53130e90c6554d Mon Sep 17 00:00:00 2001 From: Aris Date: Fri, 29 May 2015 14:43:14 +0300 Subject: [PATCH 2/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f1b9016..455d14e 100644 --- a/README.md +++ b/README.md @@ -13,11 +13,11 @@ This generates an image based on the following variables: ```php $image = imagecreatefrompng('images/countdown.png'); $font = array( - 'size'=>23, // Font size, in pts usually. + 'size'=>18, // Font size, in pts usually. 'angle'=>0, // Angle of the text 'x-offset'=>7, // The larger the number the further the distance from the left hand side, 0 to align to the left. 'y-offset'=>30, // The vertical alignment, trial and error between 20 and 60. - 'file'=>'./GillSans.ttc', // Font path + 'file'=>'./Futura.ttc', // Font path 'color'=>imagecolorallocate($image, 55, 160, 130), // RGB Colour of the text ); ```