Bug #61480 [Com]: test bug - ext/gd/tests/bug48555.phpt

From: Date: Mon, 02 Apr 2012 22:58:43 +0000
Subject: Bug #61480 [Com]: test bug - ext/gd/tests/bug48555.phpt
References: 1  Groups: php.bugs php.qa 
Request: Send a blank email to php-bugs+get-169163@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61480&edit=1

 ID:                 61480
 Comment by:         mattficken@php.net
 Reported by:        mattficken@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:

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.


Previous Comments:
------------------------------------------------------------------------
[2012-03-27 12:42:58] ab@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] mattficken@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] mattficken@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


Thread (8 messages)

« previous php.bugs (#169163) next »