fontforge/fontforge-20081215-pangocairo.patch
2008-12-16 22:12:42 +00:00

17 lines
949 B
Diff

diff -Nur fontforge-20081215.orig/gdraw/gxcdraw.c fontforge-20081215/gdraw/gxcdraw.c
--- fontforge-20081215.orig/gdraw/gxcdraw.c 2008-11-17 09:19:44.000000000 -0700
+++ fontforge-20081215/gdraw/gxcdraw.c 2008-12-16 13:59:58.000000000 -0700
@@ -1782,9 +1782,10 @@
# if !defined(_NO_LIBCAIRO) && PANGO_VERSION_MINOR>=10
# include <pango/pangocairo.h>
# define _pango_cairo_layout_path pango_cairo_layout_path
-# define _pango_font_map_create_context pango_font_map_create_context
+# define _pango_cairo_font_map_create_context pango_cairo_font_map_create_context
# define _pango_cairo_font_map_get_default pango_cairo_font_map_get_default
-# define _pango_cairo_context_set_resolution _pango_cairo_context_set_resolution
+# define _pango_cairo_context_set_resolution pango_cairo_context_set_resolution
+# define _pango_cairo_show_glyph_string pango_cairo_show_glyph_string
# endif
# undef GTimer
# if PANGO_VERSION_MINOR>=8