On Mon, Dec 11, 2000 at 04:44:23PM +0600, Ian Pilcher wrote:
> Here is a small patch to the WINEPS driver, which uses a case-
> insensitive string comparison to find an appropriate PostScript font.
>
> --- dlls/wineps/font.c-20001026 Sun Aug 20 03:38:55 2000
> +++ dlls/wineps/font.c Fri Oct 27 15:37:52 2000
> @@ -77,7 +77,7 @@
>
> /* Look for a matching font family */
> for(family = physDev->pi->Fonts; family; family = family->next) {
> - if(!strcmp(FaceName, family->FamilyName))
> + if(!strcasecmp(FaceName, family->FamilyName))
> break;
> }
> if(!family) {
Looks good to me, we certainly shouldn't worry about case when
matching font names.
Huw.
--
Dr. Huw D M Davies | Clarendon Laboratory
[EMAIL PROTECTED] | Parks Road
Tel: +44 1865 272390 | Oxford OX1 3PU
Fax: +44 1865 272400 | UK