ID: 26764 User updated by: choinet at rocketmail dot com Reported By: choinet at rocketmail dot com Status: Bogus Bug Type: GD related Operating System: Windows/Linux PHP Version: 4.3.4 New Comment:
Nice to hear, that's exactly what I had suggested to Thomas Boutell. Previous Comments: ------------------------------------------------------------------------ [2004-01-03 20:59:00] a at b dot c dot de I mentioned this to Thomas Boutell when I learned about it; GD_Lib 2.0.18 is expected to use a semicolon ';' as path separator instead of a space. If you want to recompile it yourself, the change is to #define LISTSEPARATOR in gdft.c ------------------------------------------------------------------------ [2004-01-03 13:27:44] choinet at rocketmail dot com In other words, the external code must be changed by Boutell? ------------------------------------------------------------------------ [2004-01-03 13:15:35] [EMAIL PROTECTED] It's still bogus, as it's not a bug in PHP ------------------------------------------------------------------------ [2004-01-03 13:06:53] choinet at rocketmail dot com Au contraire, Rasmus says: --- Since libgd supports multiple alternate font paths separated by spaces, it is not possible to use individual font paths with spaces in them. Example: $path = 'c:\test folder\arial.ttf'; imagettftext($image, 12, 0, 50, 50, $color, $path, "Hello"); ... It is obvious from looking at the code that it is just doing a simple strtok on the separator without any further logic. The relevant code is: [code segment in ext/gd/libgd/gdft.c] --- He also said to either get Boutell to fix it or go create a patch on my own. I understand that there was some deep confusion surrounding the problem, but nevertheless I'm currently in the process of resolving this issue. ------------------------------------------------------------------------ [2004-01-02 10:59:23] [EMAIL PROTECTED] There is no bug here, can't you accept that? (and no, you can NOT pass multiple font files to these functions) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/26764 -- Edit this bug report at http://bugs.php.net/?id=26764&edit=1