Edit report at https://bugs.php.net/bug.php?id=61480&edit=1
ID: 61480 Comment by: mattfic...@php.net Reported by: mattfic...@php.net Summary: test bug - ext/gd/tests/bug48555.phpt Status: Open Type: Bug Package: Testing related PHP Version: 5.3.10 Block user comment: N Private report: N New Comment: Good idea. I've implemented that in the most recent patch. It passes for me with PHP5.3.11rc1 on Gentoo, Fedora-16 and Windows (x86 and x64). Previous Comments: ------------------------------------------------------------------------ [2012-04-03 22:20:20] mattfic...@php.net The following patch has been added/updated: Patch Name: bug48555 Revision: 1333491620 URL: https://bugs.php.net/patch-display.php?bug=61480&patch=bug48555&revision=1333491620 ------------------------------------------------------------------------ [2012-04-03 14:34:45] a...@php.net As i wrote in the previous comment, even with freetype 2.4.9 it still fails on my debian x86. So with the supplied patch i get 001+ Top without line-break: -14 002+ Top with line-break: -14 001- Top without line-break: -15 002- Top with line-break: -15 which is the old output. It seems to be additionally a x86/x64 issue in the freetype. May be it would make sense to rewrite the test to calculate "with line break" == "without line break" in the script part, as that's actually the thing supposed to be tested. What do you think? ------------------------------------------------------------------------ [2012-04-02 22:58:43] mattfic...@php.net This patch passes on PHP5.3.11rc1 on Windows 7 sp1x64. It does not break for me on Linux x64 (Gentoo and Fedora 16) with PHP5.3.11rc1. ------------------------------------------------------------------------ [2012-03-27 12:42:58] a...@php.net Things are more complicated on linux, that's what the tests give: FreeType Version => 2.3.11 Current: 001+ Top without line-break: -15 002+ Top with line-break: -15 001- Top without line-break: -14 002- Top with line-break: -14 With patch: skip FreeType Version => 2.4.9 Current pass With patch: 001+ Top without line-break: -14 002+ Top with line-break: -14 001- Top without line-break: -15 002- Top with line-break: -15 ------------------------------------------------------------------------ [2012-03-22 21:07:27] mattfic...@php.net The following patch has been added/updated: Patch Name: bug48555 Revision: 1332450447 URL: https://bugs.php.net/patch-display.php?bug=61480&patch=bug48555&revision=1332450447 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=61480 -- Edit this bug report at https://bugs.php.net/bug.php?id=61480&edit=1