Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9088 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93321 invoked by uid 1010); 12 Apr 2004 20:28:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 93291 invoked from network); 12 Apr 2004 20:28:13 -0000 Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by pb1.pair.com with SMTP; 12 Apr 2004 20:28:13 -0000 Received: (qmail 27652 invoked by uid 65534); 12 Apr 2004 20:28:12 -0000 Received: from p50840419.dip0.t-ipconnect.de (EHLO p50840419.dip0.t-ipconnect.de) (80.132.4.25) by mail.gmx.net (mp022) with SMTP; 12 Apr 2004 22:28:12 +0200 X-Authenticated: #3444402 To: internals@lists.php.net Date: Mon, 12 Apr 2004 22:28:12 +0200 User-Agent: KMail/1.6.1 MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_cvveA6iJ4tUmXxs" Message-ID: <200404122228.12911.holliwell@gmx.net> Subject: [patch] gd.h windows font path From: holliwell@gmx.net (Friedhelm Betz) --Boundary-00=_cvveA6iJ4tUmXxs Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 --Boundary-00=_cvveA6iJ4tUmXxs Content-Type: text/plain; charset="iso-8859-15"; name="gd.h.4.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="gd.h.4.txt" Index: gd.h =================================================================== RCS file: /repository/php-src/ext/gd/libgd/gd.h,v retrieving revision 1.7.2.8 diff -u -u -r1.7.2.8 gd.h --- gd.h 29 Mar 2004 18:21:00 -0000 1.7.2.8 +++ gd.h 12 Apr 2004 18:34:30 -0000 @@ -11,7 +11,7 @@ #define PATHSEPARATOR ":" #else /* default fontpath for windows systems */ -#define DEFAULT_FONTPATH "c:\\winnt\\fonts;." +#define DEFAULT_FONTPATH "c:\\winnt\\fonts;c:\\windows\\fonts;." #define PATHSEPARATOR ";" #endif --Boundary-00=_cvveA6iJ4tUmXxs Content-Type: text/plain; charset="iso-8859-15"; name="gd.h.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="gd.h.txt" Index: gd.h =================================================================== RCS file: /repository/php-src/ext/gd/libgd/gd.h,v retrieving revision 1.21 diff -u -u -r1.21 gd.h --- gd.h 29 Mar 2004 18:20:33 -0000 1.21 +++ gd.h 12 Apr 2004 18:31:05 -0000 @@ -11,7 +11,7 @@ #define PATHSEPARATOR ":" #else /* default fontpath for windows systems */ -#define DEFAULT_FONTPATH "c:\\winnt\\fonts;." +#define DEFAULT_FONTPATH "c:\\winnt\\fonts;c:\\windows\fonts;." #define PATHSEPARATOR ";" #endif --Boundary-00=_cvveA6iJ4tUmXxs--