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



On Sun, 2012-11-18 at 09:12 -0500, Partha Bagchi wrote:
> 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]

I'm going to assume that you build gimp master against latest greatest.

Try also bulding harfbuzz, that's needed now, then rebuild from cairo,
or pango, not sure.

--mitch

> 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
> _______________________________________________
> gimp-developer-list mailing list
> gimp-developer-list gnome org
> https://mail.gnome.org/mailman/listinfo/gimp-developer-list




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