ID: 17925 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open -Bug Type: GD related +Bug Type: Feature/Change Request Operating System: Any PHP Version: 4.0CVS-2002-06-22 New Comment:
reclassifying... Previous Comments: ------------------------------------------------------------------------ [2002-06-22 13:12:48] [EMAIL PROTECTED] A new ini setting for setting a permanent font path should be introduced. Using putenv("GDFONTPATH=.."); is not a nice way. Now that it's bundled we can properly fix this. gd.fontpath = c:\somewhere\over;f:\the\rainbow This should be settable by the user too, e.g. ini_set(). If gd.fontpath is NOT set it should default to c:\winnt\fonts on win32 and /usr/share/fonts/truetype on unix systems. Also safe_mode setting should be honored if ttf file's are accessed, e.g. no ini_set() to change the gd.fontpath from the mater value and no support for absolute paths (but should be supported in non-safe_mode). The fontname should either be a fontname with or without the trailing .ttf extension. If it's not provided, it should also try to load it with .ttf . ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17925&edit=1