php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #48555
Patch ext_gd_tests_bug48555.patch revision 2010-04-08 15:11 UTC by tsisaruk dot v at gmal dot com

Patch ext_gd_tests_bug48555.patch for GD related Bug #48555

Patch version 2010-04-08 15:11 UTC

Return to Bug #48555 | Download this patch
Patch Revisions:

Developer: tsisaruk.v@gmal.com

--- ext/gd/tests/bug48555.phpt	2009-08-01 22:26:13.000000000 +0700
+++ ../php5.3-201004071230-old/ext/gd/tests/bug48555.phpt	2010-04-08 01:33:51.000000000 +0700
@@ -9,9 +9,9 @@
 <?php
 $cwd = dirname(__FILE__);
 $font = "$cwd/Tuffy.ttf";
-$box = ImageFTBBox(14, 0, $font, "Text without line-break");
+$box = ImageFTBBox(13, 0, $font, "Text without line-break");
 echo 'Top without line-break: ' . $box[7] . "\n";
-$box = ImageFTBBox(14, 0, $font, "Text with\nline-break\none more");
+$box = ImageFTBBox(13, 0, $font, "Text with\nline-break\none more");
 echo 'Top with line-break: ' . $box[7] . "\n";
 ?>
 --EXPECTF--
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Nov 23 11:01:28 2024 UTC