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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to