[php-maint] Bug#334746: marked as done (php4-gd: Unable to use
truetype fonts (workaround provided))
Debian Bug Tracking System
owner at bugs.debian.org
Wed Oct 19 23:03:04 UTC 2005
Your message dated Wed, 19 Oct 2005 15:58:23 -0700
with message-id <20051019225822.GD2803 at tennyson.dodds.net>
and subject line Bug#334746: php4-gd: Unable to use truetype fonts (workaround provided)
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 19 Oct 2005 17:00:22 +0000
>From j.fdez.jambrina at gr.ssr.upm.es Wed Oct 19 10:00:22 2005
Return-path: <j.fdez.jambrina at gr.ssr.upm.es>
Received: from xuxa.gr.ssr.upm.es [138.4.37.12] (Debian-exim)
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1ESHIc-0001bk-00; Wed, 19 Oct 2005 10:00:22 -0700
Received: from jambrina by xuxa.gr.ssr.upm.es with local (Exim 4.50)
id 1ESHID-0008Ph-T4
for submit at bugs.debian.org; Wed, 19 Oct 2005 18:59:57 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "J.L. Fernandez Jambrina" <j.fdez.jambrina at gr.ssr.upm.es>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: php4-gd: Unable to use truetype fonts (workaround provided)
X-Mailer: reportbug 3.8
Date: Wed, 19 Oct 2005 18:59:57 +0200
Message-Id: <E1ESHID-0008Ph-T4 at xuxa.gr.ssr.upm.es>
X-GRSSRUPMES-MailScanner: Found to be clean
X-GRSSRUPMES-MailScanner-From: j.fdez.jambrina at gr.ssr.upm.es
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Package: php4-gd
Version: 4:4.3.10-16
Severity: normal
when using both, imagettfbbox and imagettftext, I get the following
text messages instead of the image:
Warning: imagettfbbox(): Could not find/open font in
/home/jose/public_html/gen3/lib/xygraph_inc.php on line 83
Warning: imagettftext(): Could not find/open font in
/home/jose/public_html/gen3/lib/xygraph_inc.php on line 88
I't seems that php4-gd search for fonts in the directory
/usr/share/fonts/truetype
while the truetype fonts are installed in subdirectories:
Example:
The package msttcorefonts install it's fonts in
/usr/share/fonts/truetype/msttcorefonts
Other fonts appear in:
/usr/share/fonts/truetype/ttf-bitstream-vera
/usr/share/fonts/truetype/openoffice
/usr/share/fonts/truetype/msttcorefonts
/usr/share/fonts/truetype/freefont
/usr/share/fonts/truetype/thryomanes
Workaround:
copy the fonts to the /usr/share/fonts/truetype directory:
cd /usr/share/fonts/truetype
cp msttcorefonts/* .
Yours, Jose
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages php4-gd depends on:
ii debconf [debconf-2 1.4.30.13 Debian configuration management sy
ii libapache-mod-php4 4:4.3.10-16 server-side, HTML-embedded scripti
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libfreetype6 2.1.7-2.4 FreeType 2 font engine, shared lib
ii libgd2-xpm 2.0.33-1.1 GD Graphics Library version 2
ii libjpeg62 6b-10 The Independent JPEG Group's JPEG
ii libpng12-0 1.2.8rel-1 PNG library - runtime
ii libt1-5 5.0.2-3 Type 1 font rasterizer library - r
ii libx11-6 4.3.0.dfsg.1-14sarge1 X Window System protocol client li
ii libxpm4 4.3.0.dfsg.1-14sarge1 X pixmap library
ii php4-cgi [phpapi-2 4:4.3.10-16 server-side, HTML-embedded scripti
ii php4-cli [phpapi-2 4:4.3.10-16 command-line interpreter for the p
ii php4-common 4:4.3.10-16 Common files for packages built fr
ii xlibs 4.3.0.dfsg.1-14sarge1 X Keyboard Extension (XKB) configu
ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime
-- debconf information:
php4/extension_gd_cli: true
php4/extension_gd_apache: true
php4/add_extension: true
php4/remove_extension: true
php4/extension_gd_cgi: true
---------------------------------------
Received: (at 334746-done) by bugs.debian.org; 19 Oct 2005 22:58:24 +0000
>From vorlon at debian.org Wed Oct 19 15:58:24 2005
Return-path: <vorlon at debian.org>
Received: from dsl093-039-086.pdx1.dsl.speakeasy.net (tennyson.dodds.net) [66.93.39.86]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1ESMt6-0000u7-00; Wed, 19 Oct 2005 15:58:24 -0700
Received: by tennyson.dodds.net (Postfix, from userid 1000)
id 0932C7014; Wed, 19 Oct 2005 15:58:23 -0700 (PDT)
Date: Wed, 19 Oct 2005 15:58:23 -0700
From: Steve Langasek <vorlon at debian.org>
To: "J.L. Fernandez Jambrina" <jambrina at gr.ssr.upm.es>,
334746-done at bugs.debian.org
Subject: Re: Bug#334746: php4-gd: Unable to use truetype fonts (workaround provided)
Message-ID: <20051019225822.GD2803 at tennyson.dodds.net>
References: <E1ESHID-0008Ph-T4 at xuxa.gr.ssr.upm.es> <20051019200528.GC1415 at tennyson.dodds.net> <20051019213615.GA5758 at gr.ssr.upm.es>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="bjuZg6miEcdLYP6q"
Content-Disposition: inline
In-Reply-To: <20051019213615.GA5758 at gr.ssr.upm.es>
User-Agent: Mutt/1.5.9i
Delivered-To: 334746-done at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
--bjuZg6miEcdLYP6q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, Oct 19, 2005 at 11:36:15PM +0200, J.L. Fernandez Jambrina wrote:
> On Wed, Oct 19, 2005 at 01:05:29PM -0700, Steve Langasek wrote:
> > On Wed, Oct 19, 2005 at 06:59:57PM +0200, J.L. Fernandez Jambrina wrote:
> > > I't seems that php4-gd search for fonts in the directory=20
> > > /usr/share/fonts/truetype
> > > while the truetype fonts are installed in subdirectories:
> > > Example:
> > > The package msttcorefonts install it's fonts in=20
> > > /usr/share/fonts/truetype/msttcorefonts=20
> > > Other fonts appear in:
> > > /usr/share/fonts/truetype/ttf-bitstream-vera
> > > /usr/share/fonts/truetype/openoffice
> > > /usr/share/fonts/truetype/msttcorefonts
> > > /usr/share/fonts/truetype/freefont
> > > /usr/share/fonts/truetype/thryomanes
> > > Workaround:
> > > copy the fonts to the /usr/share/fonts/truetype directory:
> > > cd /usr/share/fonts/truetype
> > > cp msttcorefonts/* .
> > Why would you not just specify the font as a path relative to the
> > /usr/share/fonts/truetype directory?
> It works, I think your idea merits an entry in the README.Debian
No, I don't think that README.Debian is the appropriate place to explain
basics of how Unix paths work.
--=20
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
vorlon at debian.org http://www.debian.org/
--bjuZg6miEcdLYP6q
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDVs+OKN6ufymYLloRAvZ0AJ9LzoEgkys3gUVN+Xe1pS2NyXTeOACguhnL
/D2gSBPooB6Nbvq7TnGOskk=
=Asg5
-----END PGP SIGNATURE-----
--bjuZg6miEcdLYP6q--
More information about the pkg-php-maint
mailing list