cairo-ft-private.h: fix missing FT_Color error

In file included from ../src/cairo-colr-glyph-render.c:37:
../src/cairo-ft-private.h:87:30: error: unknown type name 'FT_Color'
   87 |                              FT_Color               *palette,
      |                              ^~~~~~~~

Fixes https://gitlab.freedesktop.org/cairo/cairo/-/issues/792

Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com>
This commit is contained in:
Thomas Devoogdt 2023-11-12 09:58:05 +01:00
parent b9eed915f9
commit 9607e19a9e
No known key found for this signature in database
GPG key ID: 6F715455D85EEA95

View file

@ -43,6 +43,8 @@
#if CAIRO_HAS_FT_FONT
#include FT_COLOR_H
CAIRO_BEGIN_DECLS
typedef struct _cairo_ft_unscaled_font cairo_ft_unscaled_font_t;