Edit report at https://bugs.php.net/bug.php?id=61480&edit=1
ID: 61480 Comment by: a...@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: 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? Previous Comments: ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ [2012-03-22 21:07:19] mattfic...@php.net Description: ------------ Expected result: ---------------- tests pass Actual result: -------------- tests fail 001+ Top without line-break: -15 002+ Top with line-break: -15 001- Top without line-break: -14 002- Top with line-break: -14 Failure occurs with FreeType 2.4.3 which is what PHP uses. Test patch will skip test if FreeType version is less than 2.4.3. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61480&edit=1