forked from enlightenment/efl
Evas font-engine: Replace deprecated freetype constants.
SVN revision: 59507
This commit is contained in:
parent
1ad5cdfb89
commit
f3ef64a31e
|
@ -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++)
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue