don't rely on TT_CONFIG_OPTION_BYTECODE_INTERPRETER in freetype 2.1, because distros suck so much. oh well.

SVN revision: 26428
This commit is contained in:
tilman 2006-10-08 13:58:58 +00:00 committed by tilman
parent 4bd6d8870a
commit 050db03ce7
1 changed files with 5 additions and 4 deletions

View File

@ -401,11 +401,12 @@ evas_common_hinting_available(Font_Hint_Flags hinting)
return FT_Get_TrueType_Engine_Type(evas_ft_lib) >=
FT_TRUETYPE_ENGINE_TYPE_PATENTED;
#else
# ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
/* we may not rely on TT_CONFIG_OPTION_BYTECODE_INTERPRETER
* here to find out whether it's supported.
*
* so, assume it is. o_O
*/
return 1;
# else
return 0;
# endif
#endif
}