Re: [patch] gd.h windows font path

From: Date: Tue, 13 Apr 2004 15:12:54 +0000
Subject: Re: [patch] gd.h windows font path
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-9103@lists.php.net to get a copy of this message
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 commonly, installing 2 versions of Windows (ie: XP and 98). The recommanded Microsoft way is to create 2 partitions. Thus, one will be in D:\windows\fonts (or D:\winnt\fonts). Olivier -- GB/E/IT d+ s+:+ a-- C++$ UL++++$ P++++ L+++$ E- W++$ N- ?o ?K w--(---) !O M+$ V- PS+ PE- Y PGP t++ 5-- X+@ R- tv++ b++(+++) DI++++ D+ G++ e+>++ h(*) r y+(?)

« previous php.internals (#9103) next »