[Apachetoolbox-devel] GD ttf support
Brought to you by:
bryanandrews
From: Matthew D. <ma...@ma...> - 2003-11-09 11:49:05
|
Hi, I use TTF support in GD/PHP a lot, and would like to incorporate support = for it into ATB. There's a few options for this when compiling PHP. *To enable support for FreeType 1.x add --with-ttf[=3DDIR]. *To enable support for FreeType 2 add --with-freetype-dir=3DDIR. *To enable support for T1lib (Type 1 fonts) add --with-t1lib[=3DDIR]. *To enable support for native TrueType string function add --enable-gd-native-ttf. As far as I can see, there's no point in not enabling the native gd ttf support if we're already compiling in GD support, as far as I know = nothing else is required for this. Below is a patch for this.=20 ########### Start Patch --- php-gd 2003-11-09 11:34:43.000000000 +0000 +++ php-gd 2003-11-09 11:35:33.000000000 +0000 @@ -7,6 +7,7 @@ CONFIGPHP=3D"$CONFIGPHP --with-gd $r--with-zlib-dir=3D\"$LIBZ_DIR\" $r" CONFIGPHP=3D"$CONFIGPHP --with-png-dir=3D\"$LIBPNG_DIR\" $r" CONFIGPHP=3D"$CONFIGPHP --with-jpeg-dir=3D\"$LIBJPEG_DIR\" $r" +CONFIGPHP=3D"$CONFIGPHP --enable-gd-native-ttf $r" notice "$MENUTRUE" "GD support for PHP setup!\n" ######### End Patch I'm happy to add support for FreeType 2 which I believe is the most = commonly use option - freetype I believe is installed with most *nix OS's. = Freetype 1 and t1libs are older and not as widely used(?) as far as I know, and I = also don't have a system with these installed on. Would you like patches for these, or prefer changes in CVS? Matt PS: good to have the support forums back! |