Bug #13527 Updated: Problem displaying some fonts
| From: | brozen at teamgenesis dot com | Date: | Sun, 14 Oct 2001 06:18:18 +0000 |
| Subject: | Bug #13527 Updated: Problem displaying some fonts | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-67920@lists.php.net to get a copy of this message | ||
ID: 13527
User updated by: brozen@teamgenesis.com
Reported By: brozen@teamgenesis.com
Status: Open
Bug Type: GD related
Operating System: Linux (Debian)
Old PHP Version: 4.0.6
PHP Version: 4.0.6rc3
New Comment:
The Myriad font does not work, whereas it worked in previous versions of php4 (w/gd).
I've made the font file available for download from
http://www.teamgenesis.com/Fonts
It's listed there as MA.PFB, you can right-click to download it.
The Myriad bold font DOES work and is there as MAB.PFB
The other one is Helvetica and also works.
I get these error messages:
Warning: Couldn't load the font in /usr/web/verify/imgdraw.php on line 13
Warning: Supplied argument is not a valid Type 1 font resource in /usr/web/verify/imgdraw.php on
line 18
Warning: Cannot add header information - headers already sent by (output started at
/usr/web/verify/imgdraw.php:13) in /usr/web/verify/imgdraw.php on line 22
<bunch of garble>CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), default quality <lots more
garble>
It's not a problem with code. The same exact code works with different fonts.
Thanks!
Previous Comments:
------------------------------------------------------------------------
[2001-10-03 08:09:50] brozen@teamgenesis.com
Hi,
I have some font files that work, and some that don't.
I reported this in the Debian BTS at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=113391
I don't believe it is specific to Debian.
Nonetheless, in that url above, I provide another url -- which has the font file in question
available there. In addition, there are other font files available to show you that I can still get
things to work.
Any help is appreciated.
Thanks!
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13527&edit=1