Evas: Fixed compilation with old fontconfig.

This fixes ticket #1500 by Sleep_Walker.

SVN revision: 76520
This commit is contained in:
Tom Hacohen 2012-09-12 11:55:45 +00:00
parent 0ef7b93bf9
commit d9dae5b06b
1 changed files with 4 additions and 0 deletions

View File

@ -268,6 +268,10 @@ static int _fc_slant_map[] =
FC_SLANT_ITALIC
};
/* Apparently EXTRABLACK is not always available, hardcode. */
# ifndef FC_WEIGHT_EXTRABLACK
# define FC_WEIGHT_EXTRABLACK 215
# endif
static int _fc_weight_map[] =
{
FC_WEIGHT_NORMAL,