Re: commit: Re: RTF importer - Asian font names (PATCHES)

From: Hubert Figuiere <hfiguiere_at_teaser.fr>
Date: Sun Jun 12 2005 - 07:14:10 CEST

On Sun, 2005-06-12 at 06:05 +0100, Roland Kay wrote:
> > This will break that fix. Not that I actually agree, but in fact I
> > didn't think about the problem.
>
> Hopefully, it won't. I've moved the fix until later in the code, after
> the conversion to UTF8, so that I don't have to do so many string
> operations on a ByteBuf:
>
> +#ifndef XP_TARGET_COCOA
> + /*work around "helvetica" font name -replace it with "Helvetic"*/
> + if (strcmp(fn[0], "helvetica") == 0)
> + {
> + fn[0][0] = 'H';
> + }
> +#endif /* ! XP_TARGET_COCOA */

I saw that, but it is wrong. Read the comment that IS accurate:
        "helvetica" -> "Helvetic"

It is not a case issue :-)

Hub

-- 
Crazy French - http://www.figuiere.net/hub/
Received on Sun Jun 12 07:16:38 2005

This archive was generated by hypermail 2.1.8 : Sun Jun 12 2005 - 07:16:38 CEST