diff options
author | Owen Taylor <otaylor@redhat.com> | 2005-03-01 20:48:51 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2005-03-01 20:48:51 +0000 |
commit | c63801bd14a3ad1508c8683860f461fe3b4a9873 (patch) | |
tree | e8efb6c49ef8ea3bab74782209661a79cf86e0d3 /pango/pangoft2-render.c | |
parent | 9869351ea133a8e0c3814423abe3c03a268fe486 (diff) | |
download | pango-c63801bd14a3ad1508c8683860f461fe3b4a9873.tar.gz |
Build fixes from Andrew P. Lentvorski, Jr, #164655
2005-03-01 Owen Taylor <otaylor@redhat.com>
Build fixes from Andrew P. Lentvorski, Jr, #164655
* pango/pangoft2-render.c: Duplicate the
FT_LOAD_TARGET_MONO/FT_LOAD_MONOCHROME back-compat
define from pangoft2.c here
* examples/Makefile.am (pango_xftview_LDADD): Add
X_LIBS to pango_xftview_LDADD since some old versions
of xft.pc didn't add -lX11.
Diffstat (limited to 'pango/pangoft2-render.c')
-rw-r--r-- | pango/pangoft2-render.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pango/pangoft2-render.c b/pango/pangoft2-render.c index b716c0aa..49908ca5 100644 --- a/pango/pangoft2-render.c +++ b/pango/pangoft2-render.c @@ -24,6 +24,11 @@ #include "pangoft2-private.h" +/* for compatibility with older freetype versions */ +#ifndef FT_LOAD_TARGET_MONO +#define FT_LOAD_TARGET_MONO FT_LOAD_MONOCHROME +#endif + typedef struct _PangoFT2RendererClass PangoFT2RendererClass; #define PANGO_FT2_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_FT2_RENDERER, PangoFT2RendererClass)) |