images php coding issues or problems here.
Moderators: macek, egami, gesf
by Shiv » Wed Jul 27, 2005 5:44 am
Hi,
I am using imagettftext() function. I have gd library and free type also so its working fine.
The problem is that my client has linux server and has GD but not supported with FreeType so it give me error that call to undefined function imagettftext().
Now I want to know that is there any alternative function which provides the same facility as imagettftext() ?
I sometimes use imagestring() too but we cant give font size with it so I need help.
Thank you.
-

Shiv
- php-forum Active User

-
- Posts: 262
- Joined: Wed Feb 02, 2005 8:06 pm
- Location: Ahmedabad (Gujarat), INDIA
by Shiv » Wed Jul 27, 2005 9:01 pm
Hi,
I could not get your point. Could you plz be clear about it.
-

Shiv
- php-forum Active User

-
- Posts: 262
- Joined: Wed Feb 02, 2005 8:06 pm
- Location: Ahmedabad (Gujarat), INDIA
by gesf » Wed Jul 27, 2005 9:26 pm
In that manual page, the first user comment (in the comments part) can solve your problem.
-

gesf
- Moderator

-
- Posts: 1718
- Joined: Sun Dec 29, 2002 5:03 am
- Location: Portugal
-
by Shiv » Wed Jul 27, 2005 9:46 pm
I tried that putenv('GDFONTPATH=' . realpath('.'));
but it didn't work.

-

Shiv
- php-forum Active User

-
- Posts: 262
- Joined: Wed Feb 02, 2005 8:06 pm
- Location: Ahmedabad (Gujarat), INDIA
by gesf » Wed Jul 27, 2005 9:53 pm
In that manual page, please check for a section called "
User Contributed Notes". And there you'll find your answer

-

gesf
- Moderator

-
- Posts: 1718
- Joined: Sun Dec 29, 2002 5:03 am
- Location: Portugal
-
Return to PHP coding => Images
Who is online
Users browsing this forum: No registered users and 1 guest