Re: [PHP-DEV] [patch] gd.h windows font path

2004-04-13 Thread Olivier Hill
Andi Gutmans wrote: Yeah, I think the best fix would be to change the fontFetch() function to look for the fonts in getenv("windir")+"/fonts" instead of hardcoding the dir names. I'm sure there are some weird people who call their windows installation neither by winnt nor windows. Or more common

Re: [PHP-DEV] [patch] gd.h windows font path

2004-04-12 Thread Andi Gutmans
At 10:28 PM 4/12/2004 +0200, Friedhelm Betz wrote: Hi, attached patches add c:\windows\fonts to DEFAULT_FONTPATH. c:\windows\fonts is the standard for Windows 98 and windows XP. Maybe a more sophisticated solution would use getenv("windir")? Yeah, I think the best fix would be to change the fontF

Re: [PHP-DEV] [patch] gd.h windows font path

2004-04-12 Thread Derick Rethans
On Mon, 12 Apr 2004, Friedhelm Betz wrote: > attached patches add c:\windows\fonts to DEFAULT_FONTPATH. > c:\windows\fonts is the standard for Windows 98 and windows XP. > Maybe a more sophisticated solution would use getenv("windir")? Committed, thanks. Derick -- PHP Internals - PHP Runtime

[PHP-DEV] [patch] gd.h windows font path

2004-04-12 Thread Friedhelm Betz
Hi, attached patches add c:\windows\fonts to DEFAULT_FONTPATH. c:\windows\fonts is the standard for Windows 98 and windows XP. Maybe a more sophisticated solution would use getenv("windir")? Regards Friedhelm Index: gd.h === RCS fi