Debian Bug report logs - #473429
[php5-gd] ImageTTFText does not render any string

version graph

Package: php5-gd; Maintainer for php5-gd is (unknown);

Reported by: Matthias Cramer <cramer@freestone.net>

Date: Sun, 30 Mar 2008 15:48:01 UTC

Severity: normal

Found in version php5/5.2.5-3

Done: sean finney <seanius@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#473429; Package php5-gd. (full text, mbox, link).


Acknowledgement sent to Matthias Cramer <cramer@freestone.net>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Matthias Cramer <cramer@freestone.net>
To: submit@bugs.debian.org
Subject: [php5-gd] ImageTTFText does not render any string
Date: Sun, 30 Mar 2008 17:45:03 +0200
[Message part 1 (text/plain, inline)]
Package: php5-gd
Version: 5.2.5-3
Severity: normal

--- Please enter the report below this line. ---

The following code only produces a black box without any text in it on
two of my machines .

<?php
header ("Content-type: image/gif");
$im = imagecreate (400, 30);
$black = imagecolorallocate ($im, 20, 20, 20);
$white = imagecolorallocate ($im, 255, 200, 255);
$x = imagettftext ($im, 80, 45, 10, 20, $white,
"/usr/share/fonts/truetype/freefont/FreeSansBold.ttf",
              "Test... ");
imagegif ($im);
imagedestroy ($im);
?>

This worked a few days ago !

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.24-1-686

Debian Release: lenny/sid
  500 unstable        caladan.freestone.net

--- Package information. ---
Depends                            (Version) | Installed
============================================-+-=====================
libc6                             (>= 2.7-1) | 2.7-10
libfreetype6                      (>= 2.3.5) | 2.3.5-1+b1
libgd2-xpm              (>= 2.0.36~rc1~dfsg) | 2.0.36~rc1~dfsg-1
libjpeg62                                    | 6b-14
libpng12-0                     (>= 1.2.13-4) | 1.2.15~beta5-3
libt1-5                                      | 5.1.2-2
libx11-6                                     | 2:1.0.3-7
libxpm4                                      | 1:3.5.7-1
php5-common                      (= 5.2.5-3) | 5.2.5-3
phpapi-20060613+lfs                          |
zlib1g                                       | 1:1.2.3.3.dfsg-11


-- 
Matthias Cramer, Erachfeldstrasse 1b, CH-8180 Bülach, Switzerland
http://www.freestone.net
GnuPG 1024D/2D208250 = DBC6 65B6 7083 1029 781E  3959 B62F DF1C 2D20 8250

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#473429; Package php5-gd. (full text, mbox, link).


Acknowledgement sent to sean finney <seanius@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (full text, mbox, link).


Message #10 received at 473429@bugs.debian.org (full text, mbox, reply):

From: sean finney <seanius@debian.org>
To: pkg-php-maint@lists.alioth.debian.org, Matthias Cramer <cramer@freestone.net>, 473429@bugs.debian.org
Subject: Re: [php-maint] Bug#473429: [php5-gd] ImageTTFText does not render any string
Date: Sun, 30 Mar 2008 21:00:26 +0200
[Message part 1 (text/plain, inline)]
hi,

On Sunday 30 March 2008 05:45:03 pm Matthias Cramer wrote:
> Package: php5-gd
> Version: 5.2.5-3
> Severity: normal
>
> --- Please enter the report below this line. ---
>
> The following code only produces a black box without any text in it on
> two of my machines .

php5 hasn't seen an update to unstable in almost a month... are you sure it's 
not a problem with something else you've upgraded recently?



	sean
[signature.asc (application/pgp-signature, inline)]

Reply sent to sean finney <seanius@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Matthias Cramer <cramer@freestone.net>:
Bug acknowledged by developer. (full text, mbox, link).


Message #15 received at 473429-done@bugs.debian.org (full text, mbox, reply):

From: sean finney <seanius@debian.org>
To: Matthias Cramer <cramer@freestone.net>
Cc: 473429-done@bugs.debian.org
Subject: Re: [php-maint] Bug#473429: [php5-gd] ImageTTFText does not render any string
Date: Mon, 31 Mar 2008 18:45:21 +0200
[Message part 1 (text/plain, inline)]
hiya,

no prob :)

On Monday 31 March 2008 09:37:19 am you wrote:
> Hi Sean
>
> sean finney wrote:
> > hi,
> >
> > On Sunday 30 March 2008 05:45:03 pm Matthias Cramer wrote:
> >> Package: php5-gd
> >> Version: 5.2.5-3
> >> Severity: normal
> >>
> >> --- Please enter the report below this line. ---
> >>
> >> The following code only produces a black box without any text in it on
> >> two of my machines .
> >
> > php5 hasn't seen an update to unstable in almost a month... are you sure
> > it's not a problem with something else you've upgraded recently?
>
> After some more testing and fiddling around ... I looks like it is broken
> longer than a few days ... but its's not php. It looks like that all the
> fonts in the ttf-freefont packages are broken, or at least not usable with
> gd any more. This seams to be bug #472830
>
> Please close this bug.
>
> Best regards and sorry for the troubles
>
>   Matthias


[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 29 Apr 2008 07:32:37 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 00:26:31 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.