The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

freetype ttf issue

Discussion in 'General Discussion' started by hjw, Jul 22, 2008.

  1. hjw

    hjw Registered

    Joined:
    Mar 7, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hi,
    got a problem with freetype and TTF.

    This is the info.php from a server, where functions like imagettftext() are working properly.

    cPanel build 11.23.3 :

    Configure Command './configure' '--disable-pdo' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-sockets' '--enable-zip' '--prefix=/usr' '--with-curl=/opt/curlssl/' '--with-freetype-dir=/usr' '--with-gd' '--with-gettext' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-png-dir=/usr' '--with-ttf' '--with-xpm-dir=/usr' '--with-zlib' '--with-zlib-dir=/usr'

    ...

    gd

    GD Support enabled
    GD Version bundled (2.0.34 compatible)
    FreeType Support enabled
    FreeType Linkage with freetype
    FreeType Version 2.2.1


    At a new server from another provider with cPanel build 11.18.3 freetype is not mentioned in the info.php only '--with-ttf' '
    The provider says all the functions like imagettftext(=) should work, because freetype is now called TTF - but unfortunately they do not work.

    We get always: Fatal error: Call to undefined function imagettftext()

    Are we doing something wrong or is '--with-freetype-dir=/usr' ' still a mandatory configuration option that has to be set?

    Thanks for any help

    hjw
     
  2. cPanelBrandonM

    Joined:
    Jun 24, 2007
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Hello,
    Can you please submit a support request with your login credentials and a detailed description of the problem? We will be more than happy to take a look at this for you.
     

Share This Page