Solved

imagettftext function

Posted on 2009-05-06
2
317 Views
Last Modified: 2013-12-13
Hello, I'm trying to use imagettftext function in my script.
But it returns Call to undefined function imagettftext() .

I run phpinfo() and my PHP version is 5.2.6 on SentOS and have "--with-gd' " on cinfgure command section and on GD section it says:

GD Support  enabled  
GD Version  bundled (2.0.34 compatible)  
GIF Read Support  enabled  
GIF Create Support  enabled  
JPG Support  enabled  
PNG Support  enabled  
WBMP Support  enabled  
XPM Support  enabled  
XBM Support  enabled  

Someone sasy that I will need free-type in order to make the function work.
But I'm not expert of Linux, so I need an accurarte answer before I install something on my server.

What exactly do I need to make the function work?
Please some one adivse.
Thank you.

0
Comment
Question by:eb110k
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
aconrad earned 500 total points
ID: 24321717
http://www.php.net/manual/en/function.imagettftext.php
Note: This function requires both the GD library and the » FreeType library.

Yes, you need free-type.
0
 

Author Closing Comment

by:eb110k
ID: 31578836
Thank you for your advise.
0

Featured Post

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question