Bug 76905

Summary: imagettftext command in php produces no output
Product: [Retired] Red Hat Linux Reporter: Artie Ball <artie>
Component: freetypeAssignee: Owen Taylor <otaylor>
Status: CLOSED WORKSFORME QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-10-29 03:39:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Artie Ball 2002-10-29 03:39:11 UTC
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-30 03:45:07 UTC
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.