sfnt2fnt: Use code from gdi32/freetype to do a better job findingthe TTAG_EBLC to deal with older version of freetype without having tofall back on unreliable hacks

Dmitry Timoshkov dmitry at codeweavers.com
Mon Dec 10 05:05:24 CST 2007


"Aric Stewart" <aric at codeweavers.com> wrote:

> +    /* If the FT_Load_Sfnt_Table function is there we'll use it */
> +#ifdef HAVE_FT_LOAD_SFNT_TABLE
> +    err = FT_Load_Sfnt_Table(ft_face, table, offset, buf, len);
> +#endif
> +#ifdef HAVE_FREETYPE_INTERNAL_SFNT_H

Probably using #elif instead of #endif+#ifdef above would be more correct.

-- 
Dmitry.



More information about the wine-devel mailing list