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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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: Tue Apr 23 14:01:31 2024 UTC