#17437 [Fbk->NoF]: GD TT Fonts larger then defined

From: Date: Tue, 06 Aug 2002 05:00:12 +0000
Subject: #17437 [Fbk->NoF]: GD TT Fonts larger then defined
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16055@lists.php.net to get a copy of this message
ID: 17437 Updated by: php-bugs@lists.php.net Reported By: kcs@xkcs.com -Status: Feedback +Status: No Feedback Bug Type: GD related Operating System: Linux PHP Version: 4.2.1 New Comment: No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2002-08-05 05:02:38] shelley@intermax.nl I wanted to add that we recently encountered the problem Brad describes and were able to determine that it is not a Freetype related thing as Derick suggests. We are running PHP 4.0.6/GD 1.6.2/Freetype 1.3 on a Solaris machine, which contains a number of sites with dynamically generated menu images. Two weeks ago we moved one of these sites to a new Linux server with PHP 4.1.2/GD 1.6.2/Freetype 1.3 installed. The dynamically generated menu images were immediately much larger than those on the original server even though the code had not been touched. Note that the versions of GD and Freetype were identical. We also checked to make sure the font file itself was exactly the same. Replacing PHP 4.1.2 with version 4.0.6 immediately resolved the problem. Hope this helps, Shelley ------------------------------------------------------------------------ [2002-05-26 14:24:43] derick@php.net I was under the impression that this was a freetype related thing. Try downgrading to freetype 1.x and see if the problem is solved then. Derick ------------------------------------------------------------------------ [2002-05-26 13:59:14] kcs@xkcs.com This problem surfaced after upgrading from PHP 4.0.4 to 4.2.1. I'm using PHP + GD + Freetype to pruduce 5 PNG pictures for a menu on my site. The fonts are defined in the script as 12 point. But the output produces about 18 point. PHP 4.0.4 did not have this bug. I've even tried 4.0.4 to 4.1.2 and I get the same problem. freetype version: 2.0.9-2 gd version: 1.8.3-7 I have scoured the web looking for the answer and I have come up with nothing except: http://www.aditus.nu/jpgraph/jpg_faq.php mentions the problem I am having but does not state why or how to fix it. Search the above page for "larger". Thanks, Brad ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17437&edit=1

« previous php.bugs (#16055) next »