From 4ffa2cdefad8722eab5a51cf40c2d9f17c268c42 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Mon, 28 Jul 2003 12:51:51 +0000 Subject: [PATCH] define FT_GLYPH_FORMAT_OUTLINE as ft_glyph_format_outline if it doesn't 2003-07-28 Michael Natterer * app/text/gimptext-vectors.c: define FT_GLYPH_FORMAT_OUTLINE as ft_glyph_format_outline if it doesn't exist so it compiles with older freetype versions. --- ChangeLog | 6 ++++++ app/text/gimptext-vectors.c | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index b7c05c6d43..ace249969c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-07-28 Michael Natterer + + * app/text/gimptext-vectors.c: define FT_GLYPH_FORMAT_OUTLINE as + ft_glyph_format_outline if it doesn't exist so it compiles with + older freetype versions. + 2003-07-28 Michael Natterer * app/gui/image-menu.c (image_menu_entries): add the diff --git a/app/text/gimptext-vectors.c b/app/text/gimptext-vectors.c index b03d6e22d4..c43817574d 100644 --- a/app/text/gimptext-vectors.c +++ b/app/text/gimptext-vectors.c @@ -40,6 +40,12 @@ #include "gimptextlayout-render.h" +/* for compatibility with older freetype versions */ +#ifndef FT_GLYPH_FORMAT_OUTLINE +#define FT_GLYPH_FORMAT_OUTLINE ft_glyph_format_outline +#endif + + typedef struct _RenderContext RenderContext; struct _RenderContext