sivaguru Posted April 23, 2007 Share Posted April 23, 2007 I am using a Tamil Font (a language used in India) as a true type font in my PHP application. When I am trying to use in ImageTTFText function, in the image that its producing, in addition to the text there is <font> and </font> tags gets included. For example, if the string is "text" then in the image, it is showing as <font> text </font>. I dont know why its coming. Is it related with imageTTFText or something else??? Link to comment https://forums.phpfreaks.com/topic/48237-doubt-regarding-imagettftext/ Share on other sites More sharing options...
Guest prozente Posted April 23, 2007 Share Posted April 23, 2007 Check the text you're passing to imagettftext, you likely have the tags included in it. Link to comment https://forums.phpfreaks.com/topic/48237-doubt-regarding-imagettftext/#findComment-235823 Share on other sites More sharing options...
sivaguru Posted April 23, 2007 Author Share Posted April 23, 2007 Yes I made sure that the string is passed as a text only without <font> and </font> Link to comment https://forums.phpfreaks.com/topic/48237-doubt-regarding-imagettftext/#findComment-235854 Share on other sites More sharing options...
sivaguru Posted April 24, 2007 Author Share Posted April 24, 2007 Thanks prozente. I checked thoroughly and the string contained <font> and </font> tags. Removed them and its working fine Thanks again for ur timely help Link to comment https://forums.phpfreaks.com/topic/48237-doubt-regarding-imagettftext/#findComment-236697 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.