470,870 Members | 1,398 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,870 developers. It's quick & easy.

undefined function imagepsloadfont ??

Hello All

I have just installed PHP 4.3.7 on Windows XP along with Apache2.

When trying some examples using gd i get an error message saying Fatal
error: Call to undefined function: imagepsloadfont(). Other examples just
run fine.

var_dump(gd_info()) tells me:

array(11) { ["GD Version"]=> string(27) "bundled (2.0.23 compatible)"
["FreeType Support"]=> bool(true) ["FreeType Linkage"]=> string(13) "with
freetype" ["T1Lib Support"]=> bool(false) ["GIF Read Support"]=> bool(true)
["GIF Create Support"]=> bool(false) ["JPG Support"]=> bool(true) ["PNG
Support"]=> bool(true) ["WBMP Support"]=> bool(true) ["XBM Support"]=>
bool(true) ["JIS-mapped Japanese Font Support"]=> bool(false) }

I have seen somewhere that ["T1Lib Support"] should be set to true to avoid
the above problem.

What is wrong here ? Any help for this ?

Thanks in advance
Heinz
Jul 17 '05 #1
1 4412
*** Heinz wrote/escribió (Wed, 16 Jun 2004 13:34:01 +0200):
When trying some examples using gd i get an error message saying Fatal
error: Call to undefined function: imagepsloadfont(). Other examples just
run fine.


http://us2.php.net/manual/en/functio...psloadfont.php

Note: This function is only available if PHP is compiled using
--enable-t1lib.

Run phpinfo() to check if it was compiled this way.

--
--
-- Álvaro G. Vicario - Burgos, Spain
--
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by RoSsIaCrIiLoIA | last post: by
10 posts views Thread by siroregano | last post: by
17 posts views Thread by yb | last post: by
3 posts views Thread by Michael Sgier | last post: by
3 posts views Thread by prakash.mirji | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.