mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Remove effectless --enable-gd-native-ttf and USE_GD_IMGSTRTTF
--enable-gd-native-ttf did set USE_GD_IMGSTRTTF, which is otherwise unused
as of commit 8a90aad3
(i.e. PHP 5.5.0), at least.
This commit is contained in:
parent
6dd4efb70a
commit
494c5dc77a
@ -84,6 +84,10 @@ PHP 7.2 UPGRADE NOTES
|
|||||||
. Added extended exif tag support for the following formats:
|
. Added extended exif tag support for the following formats:
|
||||||
Samsung, DJI, Panasonic, Sony, Pentax, Minolta & Sigma/Foveon.
|
Samsung, DJI, Panasonic, Sony, Pentax, Minolta & Sigma/Foveon.
|
||||||
|
|
||||||
|
- GD:
|
||||||
|
. Removed --enable-gd-native-ttf configuration option which was unused as
|
||||||
|
of PHP 5.5.0 anyway.
|
||||||
|
|
||||||
- Mbstring
|
- Mbstring
|
||||||
. mb_check_encoding() accepts array parameter. Both key and value
|
. mb_check_encoding() accepts array parameter. Both key and value
|
||||||
ecodings are checked recursively.
|
ecodings are checked recursively.
|
||||||
|
@ -35,9 +35,6 @@ PHP_ARG_WITH(xpm-dir, for the location of libXpm,
|
|||||||
PHP_ARG_WITH(freetype-dir, for FreeType 2,
|
PHP_ARG_WITH(freetype-dir, for FreeType 2,
|
||||||
[ --with-freetype-dir[=DIR] GD: Set the path to FreeType 2 install prefix], no, no)
|
[ --with-freetype-dir[=DIR] GD: Set the path to FreeType 2 install prefix], no, no)
|
||||||
|
|
||||||
PHP_ARG_ENABLE(gd-native-ttf, whether to enable truetype string function in GD,
|
|
||||||
[ --enable-gd-native-ttf GD: Enable TrueType string function], no, no)
|
|
||||||
|
|
||||||
PHP_ARG_ENABLE(gd-jis-conv, whether to enable JIS-mapped Japanese font support in GD,
|
PHP_ARG_ENABLE(gd-jis-conv, whether to enable JIS-mapped Japanese font support in GD,
|
||||||
[ --enable-gd-jis-conv GD: Enable JIS-mapped Japanese font support], no, no)
|
[ --enable-gd-jis-conv GD: Enable JIS-mapped Japanese font support], no, no)
|
||||||
|
|
||||||
@ -206,7 +203,6 @@ AC_DEFUN([PHP_GD_FREETYPE2],[
|
|||||||
|
|
||||||
PHP_EVAL_INCLINE($FREETYPE2_CFLAGS)
|
PHP_EVAL_INCLINE($FREETYPE2_CFLAGS)
|
||||||
PHP_EVAL_LIBLINE($FREETYPE2_LIBS, GD_SHARED_LIBADD)
|
PHP_EVAL_LIBLINE($FREETYPE2_LIBS, GD_SHARED_LIBADD)
|
||||||
AC_DEFINE(USE_GD_IMGSTRTTF, 1, [ ])
|
|
||||||
AC_DEFINE(HAVE_LIBFREETYPE,1,[ ])
|
AC_DEFINE(HAVE_LIBFREETYPE,1,[ ])
|
||||||
AC_DEFINE(ENABLE_GD_TTF,1,[ ])
|
AC_DEFINE(ENABLE_GD_TTF,1,[ ])
|
||||||
else
|
else
|
||||||
@ -214,12 +210,6 @@ AC_DEFUN([PHP_GD_FREETYPE2],[
|
|||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_DEFUN([PHP_GD_TTSTR],[
|
|
||||||
if test "$PHP_GD_NATIVE_TTF" = "yes"; then
|
|
||||||
AC_DEFINE(USE_GD_IMGSTRTTF, 1, [ ])
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_DEFUN([PHP_GD_JISX0208],[
|
AC_DEFUN([PHP_GD_JISX0208],[
|
||||||
if test "$PHP_GD_JIS_CONV" = "yes"; then
|
if test "$PHP_GD_JIS_CONV" = "yes"; then
|
||||||
USE_GD_JIS_CONV=1
|
USE_GD_JIS_CONV=1
|
||||||
|
@ -71,7 +71,6 @@ if (PHP_GD != "no") {
|
|||||||
/D HAVE_LIBPNG \
|
/D HAVE_LIBPNG \
|
||||||
/D HAVE_XPM \
|
/D HAVE_XPM \
|
||||||
/D HAVE_COLORCLOSESTHWB \
|
/D HAVE_COLORCLOSESTHWB \
|
||||||
/D USE_GD_IMGSTRTTF \
|
|
||||||
/D USE_GD_IOCTX \
|
/D USE_GD_IOCTX \
|
||||||
/D MSWIN32 \
|
/D MSWIN32 \
|
||||||
");
|
");
|
||||||
|
Loading…
Reference in New Issue
Block a user