I don't normally do PHP development work on Windows but I need to port
an image creation tool to Windows. So I have loaded the php_gd2.dll
module for image creation support but it doesn't include the t1lib
functions and the code relies on the imagepsbbox(), imagepstext() and
imagepsloadfont() functions.
The result from gd_info() is:
array(11) {
["GD Version"]=> string(27) "bundled (2.0.28 compatible)"
["FreeType Support"]=> bool(true)
["FreeType Linkage"]=> string(13) "with freetype"
["T1Lib Support"]=> bool(false)
["GIF Read Support"]=> bool(true)
["GIF Create Support"]=> bool(true)
["JPG Support"]=> bool(true)
["PNG Support"]=> bool(true)
["WBMP Support"]=> bool(true)
["XBM Support"]=> bool(true)
["JIS-mapped Japanese Font Support"]=> bool(false)
}
Anyone have any idea where I can get a php_gd2.dll which includes the
t1lib? I can always recode the functions to use TTF fonts instead but
only want to do that as a last resort.
--
Chris Hope | www.electrictoolbox.com | www.linuxcdmall.com