By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,751 Members | 1,156 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,751 IT Pros & Developers. It's quick & easy.

undefined function imagepsloadfont ??

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
*** 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.