[Gimp-developer] Gimp 2.9 font error on the Mac (Snow Leopard 64bit)



A new issue seems to have manifested itself on the Mac. When I recently compiled 2.9, it would not power up and gave me the following error:

"You are using a Pango that has been built against a cairo that lacks the freetype font backend"

Of course, my cairo is built with the freetype font backend. Right now I have fixed this in the following way:

In app/text/gimpfont.c, I changed the following

[code]
 fontmap = pango_cairo_font_map_new_for_font_type (CAIRO_FONT_TYPE_FT);
  if (! fontmap)
    g_error ("You are using a Pango that has been built against a cairo "
             "that lacks the Freetype font backend");
[/code]

to

[code]
  fontmap = pango_cairo_font_map_new_for_font_type (CAIRO_FONT_TYPE_FT);
  if (! fontmap)
      fontmap = pango_cairo_font_map_get_default ();

/*    g_error ("You are using a Pango that has been built against a cairo "
             "that lacks the Freetype font backend");
*/
[/code]

Has anyone else gotten this error or know why it is suddenly cropping up?

Thanks,
Partha



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]