Compilation errors for Freetype support

Marcus Meissner marcus at jet.franken.de
Thu Jan 31 09:44:52 CST 2002


> So what ought to be done in the code?

> 1. #else #error "This requires freetype 2.0.3 or later"
> 2. #else <Here are some definitions that will compile but assume an angle of
> zero degrees> #endif
> 3. ifdefs around the use of FT_Angle etc to provide an alternative method of
> achieving it or not supporting ot.

Do autoconf checks for the presence of these functions.
If they can be implemented (or stubbed) easily, add a stub/implementation
between ifndefs.
If not, do not compile in the feature at all.

Ciao, Marcus




More information about the wine-devel mailing list