Evas font-engine: Replace deprecated freetype constants.

SVN revision: 59507
This commit is contained in:
Tom Hacohen 2011-05-18 13:47:45 +00:00
parent 1ad5cdfb89
commit f3ef64a31e
2 changed files with 2 additions and 2 deletions

View File

@ -253,7 +253,7 @@ evas_common_font_draw_internal(RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Font
else
{
if ((fg->glyph_out->bitmap.num_grays == 256) &&
(fg->glyph_out->bitmap.pixel_mode == ft_pixel_mode_grays))
(fg->glyph_out->bitmap.pixel_mode == FT_PIXEL_MODE_GRAY))
{
for (i = 0; i < h; i++)
{

View File

@ -40,7 +40,7 @@ evas_common_font_query_kerning(RGBA_Font_Int *fi, FT_UInt left, FT_UInt right,
FTLOCK();
if (FT_Get_Kerning(fi->src->ft.face,
key[0], key[1],
ft_kerning_default, &delta) == 0)
FT_KERNING_DEFAULT, &delta) == 0)
{
int *push;