Bug 76905 - imagettftext command in php produces no output
imagettftext command in php produces no output
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: freetype (Show other bugs)
8.0
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Owen Taylor
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-10-28 22:39 EST by Artie Ball
Modified: 2007-04-18 12:48 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-10-28 22:39:17 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Artie Ball 2002-10-28 22:39:11 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 
1.0.3705)

Description of problem:
when I run a php script which contains the imagettftext command, I get no 
output. The httpd error log contains the following:
[Mon Oct 28 20:51:44 2002] [info] (104)Connection reset by peer: 
core_output_filter: writing data to the network
[Mon Oct 28 20:51:44 2002] [info] (32)Broken pipe: core_output_filter: writing 
data to the network
If I run the same php script with the imagettftext command commented out, no 
errors are logged and the correct image is output to the browser.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.compose a php script using the imagettftext command.
2.run the script
3.observe the browser output
4.check the httpd error log.
	

Actual Results:  no output image is produced in the browser.

Expected Results:  the output image containing the required text should have 
been sent to the browser.

Additional info:

using the RH 8.0 supplied gd, php and freetype programs
Comment 1 Artie Ball 2002-10-29 22:45:07 EST
Solution found.  When specifying the font file to use, the path to the font 
file must be absolute.  i.e. /var/www/html/project/arial.ttf  not just 
project/arial.ttf.

Note You need to log in before you can comment on or make changes to this bug.