diff options
author | foobar <sniper@php.net> | 2005-01-14 23:07:46 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-01-14 23:07:46 +0000 |
commit | 330746480ea99e8f673ac75a3007d209515a2079 (patch) | |
tree | f96141b384727b6480446da82cd56eae8b247ab7 | |
parent | 68ca0ed6d879468113749dec8d991ca7ee3943e1 (diff) | |
download | php-git-330746480ea99e8f673ac75a3007d209515a2079.tar.gz |
- Fixed bug #31060 (imageftbbox() does not use linespacing parameter)
-rw-r--r-- | ext/gd/gd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c index dd9e6c5db7..aa7c51bbad 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -3150,9 +3150,10 @@ static void php_imagettftext_common(INTERNAL_FUNCTION_PARAMETERS, int mode, int col = Z_LVAL_PP(COL); y = Z_LVAL_PP(Y); x = Z_LVAL_PP(X); + } #if HAVE_GD_STRINGFTEX - if (EXT) { + if (extended && EXT) { /* parse extended info */ HashPosition pos; @@ -3184,8 +3185,6 @@ static void php_imagettftext_common(INTERNAL_FUNCTION_PARAMETERS, int mode, int } #endif - } - ptsize = Z_DVAL_PP(PTSIZE); angle = Z_DVAL_PP(ANGLE) * (M_PI / 180); /* convert to radians */ |