php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13527 Problem displaying some fonts
Submitted: 2001-10-03 08:09 UTC Modified: 2002-06-28 05:07 UTC
From: brozen at teamgenesis dot com Assigned:
Status: Not a bug Package: GD related
PHP Version: 4.0.6rc3 OS: Linux (Debian)
Private report: No CVE-ID: None
 [2001-10-03 08:09 UTC] brozen at teamgenesis dot 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!

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-14 02:18 UTC] brozen at teamgenesis dot com
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!
 [2002-06-28 05:07 UTC] sniper@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


..and too old version.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 08:01:28 2024 UTC