php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #849 ImageTTFText displays mirror image
Submitted: 1998-10-15 10:48 UTC Modified: 1998-11-13 07:21 UTC
From: nivan at motadata dot co dot za Assigned:
Status: Closed Package: Other
PHP Version: 3.0.5 OS: Linux
Private report: No CVE-ID: None
 [1998-10-15 10:48 UTC] nivan at motadata dot co dot za
When using the ImageTTFText function to draw text inside a GIF image the text appears as a mirror image.

I call the function in the following way:

  ImageTTFText ($img,50,0,120,120,$c_axis,"fonts/Ambient.ttf","Testing...");

The text is drawn from top to bottom (note that I am using an angle of 0) and the text is a mirror image.

I have tried different fonts but the problem persists.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-11-13 07:21 UTC] rasmus
This happens when PHP doesn't recognize that you have version 1.3 of the GD library installed.  A "make clean; rm config.cache" followed by a reconfigure of PHP should clear this up.  If it doesn't, after running configure edit your config.h and define HAVE_LIBGD13 to 1 and build PHP.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 16 21:01:32 2024 UTC