define FT_GLYPH_FORMAT_OUTLINE as ft_glyph_format_outline if it doesn't

2003-07-28  Michael Natterer  <mitch@gimp.org>

	* 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.
This commit is contained in:
Michael Natterer 2003-07-28 12:51:51 +00:00 committed by Michael Natterer
parent 5802bbd486
commit 4ffa2cdefa
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2003-07-28 Michael Natterer <mitch@gimp.org>
* 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 <mitch@gimp.org>
* app/gui/image-menu.c (image_menu_entries): add the

View File

@ -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