[cairo] compilation issue re. fontconfig
Owen Taylor
otaylor at redhat.com
Fri Jan 21 15:20:33 PST 2005
On Fri, 2005-01-21 at 18:17 -0500, Abraham Egnor wrote:
> When trying to compile a recently checked out copy of cairo, I hit
> this compile error:
>
> cairo_ft_font.c: In function `_get_load_flags':
> cairo_ft_font.c:507: error: `FC_HINT_STYLE' undeclared (first use in
> this function)
> (...etc...)
>
> Doing some digging, I found that the various FC_HINT_* constants are
> only present in the development branch of fontconfig. Perhaps a check
> should be added to the cairo autoconf scripts to make sure the version
> number of a found fontconfig library is high enough?
All it needs is a #ifdef FC_HINT_STYLE ... I had that on my other
system and will commit in a second.
Thanks for catching it,
Owen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050121/8421bc44/attachment.pgp
More information about the cairo
mailing list