Re: [patch] gd.h windows font path

From: Date: Tue, 13 Apr 2004 06:09:46 +0000
Subject: Re: [patch] gd.h windows font path
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-9099@lists.php.net to get a copy of this message
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 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. Andi

« previous php.internals (#9099) next »