php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3818 ImageTTFText renders ttf fonts mirrored
Submitted: 2000-03-13 12:41 UTC Modified: 2000-07-20 19:36 UTC
From: pbzinc at redrose dot net Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0 Beta 4 Patch Level 1 OS: rh linux 6.1
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pbzinc at redrose dot net
New email:
PHP Version: OS:

 

 [2000-03-13 12:41 UTC] pbzinc at redrose dot net
compiled with freetype 1.3 and gd 1.8
freetype and gd ttf test programs perform correctly


<?php
    Header( "Content-type: image/png");
    $im = imagecreate(98,85);
    $blue = ImageColorAllocate($im, 0x2c,0x6D,0xAF);
    $black = ImageColorAllocate($im, 0,0,0);
    ImageTTFText($im, 20, 0, 10, 20,   $black,  "advGraph/fonts/arial.ttf", "AB");
    ImagePng($im);
    ImageDestroy($im);
?>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-20 19:36 UTC] mrobinso at cvs dot php dot net
This problem tends to appear when a newer version of
gd is installed without first removing the older version.

If this is the case, uninstall *all* versions of gd,
then reinstall the version you want to use, and
recompile php.

If you can upgrade php to at least the latest stable,
(4.0.1pl2) that would be best. Reopen if problem
persists.




 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 07:01:30 2024 UTC