Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116412 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 987 invoked from network); 16 Nov 2021 12:53:24 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 16 Nov 2021 12:53:24 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 11AB418053C for ; Tue, 16 Nov 2021 05:48:22 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS29169 217.70.176.0/20 X-Spam-Virus: No X-Envelope-From: Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [217.70.178.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 16 Nov 2021 05:48:20 -0800 (PST) Received: (Authenticated sender: come@chilliet.eu) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 4982F200004 for ; Tue, 16 Nov 2021 13:48:18 +0000 (UTC) To: internals@lists.php.net Date: Tue, 16 Nov 2021 14:48:18 +0100 Message-ID: <3144965.44csPzL39Z@come-prox15amd> In-Reply-To: <414d3a8a-804d-dd48-65e8-82871db38108@gmx.de> References: <2082929.irdbgypaU6@come-prox15amd> <414d3a8a-804d-dd48-65e8-82871db38108@gmx.de> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] PHP 8.1.0RC6 available for testing From: come@chilliet.eu (=?ISO-8859-1?Q?C=F4me?= Chilliet) Le mardi 16 novembre 2021, 13:40:30 CET Christoph M. Becker a =C3=A9crit : > On 16.11.2021 at 13:11, C=C3=B4me Chilliet wrote: > > I have a difference in behavior between PHP 8.1 RC6 and my system PHP f= or the function imagettfbbox. > > It is hard to know if this is a problem with 8.1 really because I had t= o download and build imagick through pecl to be able to run this. >=20 > imagettfbbox() is part of ext/gd which is a bundled extension. It has > nothing to do with imagick (besides both are for image manipulation). Thank you for the clarification, I got lost in all theses libraries=E2=80=A6 > This might be due to different libfreetype, libgd or libraqm versions > (or possibly libraqm wasn't enabled for one of the builds), or because > one build used system libgd and the other used the bundled GD. The PHP from my system is 7.4 and says: $ php --info|grep -i freetype -i =46reeType Support =3D> enabled =46reeType Linkage =3D> with freetype $ php --info|grep -i gd -i /etc/php/7.4/cli/conf.d/20-gd.ini, gd GD Support =3D> enabled GD headers Version =3D> 2.2.5 GD library Version =3D> 2.2.5 gd.jpeg_ignore_warning =3D> 1 =3D> 1 The one I built says: $ ~/dev/php-src-git/sapi/cli/php --info|grep -i freetype Configure Command =3D> './configure' '--with-ldap' '--with-ldap-sasl' '--= with-zip' '--with-curl' '--with-openssl' '--with-zlib' '--enable-mbstring' = '--enable-pcntl' '--enable-intl' '--with-password-argon2' '--with-freetype'= '--with-jpeg' '--enable-gd' '--with-imagick' =46reeType Support =3D> enabled =46reeType Linkage =3D> with freetype =46reeType Version =3D> 2.10.1 $ ~/dev/php-src-git/sapi/cli/php --info|grep -i gd Configure Command =3D> './configure' '--with-ldap' '--with-ldap-sasl' '--= with-zip' '--with-curl' '--with-openssl' '--with-zlib' '--enable-mbstring' = '--enable-pcntl' '--enable-intl' '--with-password-argon2' '--with-freetype'= '--with-jpeg' '--enable-gd' '--with-imagick' gd GD Support =3D> enabled GD Version =3D> bundled (2.1.0 compatible) gd.jpeg_ignore_warning =3D> 1 =3D> 1 So it seems the one I built used a bundled older version of GD? How should = I change my configure line to use the same GD as the other one? C=C3=B4me