php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21554 Can't turn off TTF anti-aliasing with negative color index in 4.3.0
Submitted: 2003-01-09 14:50 UTC Modified: 2003-01-27 22:39 UTC
Votes:6
Avg. Score:4.8 ± 0.4
Reproduced:6 of 6 (100.0%)
Same Version:2 (33.3%)
Same OS:1 (16.7%)
From: ljpersson at hotmail dot com Assigned:
Status: No Feedback Package: GD related
PHP Version: 4.3.0 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ljpersson at hotmail dot com
New email:
PHP Version: OS:

 

 [2003-01-09 14:50 UTC] ljpersson at hotmail dot com
Using imagettftext() it should be possible to turn off the antialiasing by specifying a negative color index. However, this seems to be broken in 4.3.0 with built-in GD. 

Using negative color index just results in garbled characters.

PHP: 4.3.0
Freetype 1.3.1
GD 2.x (builtin version in PHP 4.3.0)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-09 20:12 UTC] iliaa@php.net
Try non-bundled gd 2.0.9 and see if you get the same results as the ones
you've got with bundled GD library. I suspect that the behaviour of GD
between 2.0.1 and later versions had changed.
 [2003-01-27 22:39 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 01:01:28 2024 UTC