History log of /PHP-8.3/ext/gd/tests/gh13082.phpt (Results 1 – 3 of 3)
Revision Date Author Comments
# 02a60be2 11-Jul-2024 Christoph M. Becker

Fix skip condition of gh13082.phpt

The test failure is not particularly related to Travis, but rather is
caused by the GD font file to only be suitable for platforms where
`int` stor

Fix skip condition of gh13082.phpt

The test failure is not particularly related to Travis, but rather is
caused by the GD font file to only be suitable for platforms where
`int` stores 32bit values in little endian byte order. This platform
dependence is documented in the source code[1]. Thus we fix the skip
condition and skip reason accordingly.

An alternative would be to dynamically create the font file just before
running the test, but that appears to be overkill.

[1] <https://github.com/php/php-src/blob/d59691c02fa77b65855ebbcd5f50aaac034ab75d/ext/gd/gd.c#L545-L556>

Closes GH-14922.

show more ...


# 8d4e177d 20-Jan-2024 David Carlier

ext/gd disable gh13082 test for travis.

The sample file is for little endian architectures.

Close GH-13208


# 1e464e5b 09-Jan-2024 David Carlier

ext/gd: Fix GH-13082

Issue occur when compiling with recent clang releases (> 13) and
with the '-Os' optimisation level, after using
`imageloadfont` which returns a proper GdFont cl

ext/gd: Fix GH-13082

Issue occur when compiling with recent clang releases (> 13) and
with the '-Os' optimisation level, after using
`imageloadfont` which returns a proper GdFont class leads to
a subtle bug when attempting to use via the imagefont* function.

show more ...