PATCH: better freetype enc fix

Marcus Meissner marcus at jet.franken.de
Sun Oct 26 05:47:40 CST 2003


On Sun, Oct 26, 2003 at 12:28:34PM +0100, Rein Klazes wrote:
> On Sun, 26 Oct 2003 12:00:51 +0100, you wrote:
> 
> > hmm, and:
> > #define  ft_encoding_symbol          FT_ENCODING_MS_SYMBOL
> > 
> > Well, what about this patch instead:
> 
> [patch]
> 
> Yes, I like this one better, but the ft_encoding macros are deprecated.
> What about doing:
> 
> #ifndef FT_ENCODING_MS_SYMBOL
> #define FT_ENCODING_MS_SYMBOL ft_encoding_symbol
> #endif
> 
> etc.
> 
> Will work now and will still work when backward compatibility is
> dropped.

FT_ENCODING_MS_SYMBOL is a enum value, not a define, so this check will not work.

Might need another autoconf check, but for a fixed define its a bit overkill.

Ciao, Marcus



More information about the wine-devel mailing list