2 commits - src/cairo-ft-private.h
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Oct 3 22:04:03 UTC 2024
src/cairo-ft-private.h | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 21e6b2c6ad40d2647542be372ebf8283ea2807d5
Merge: b9eed915f 9607e19a9
Author: Adrian Johnson <ajohnson at redneon.com>
Date: Thu Oct 3 22:04:01 2024 +0000
Merge branch 'feature/bugfix-include-ft-color' into 'master'
cairo-ft-private.h: fix missing FT_Color error
Closes #792
See merge request cairo/cairo!597
commit 9607e19a9e4c1784e7b656772e1df82aea26f6e7
Author: Thomas Devoogdt <thomas at devoogdt.com>
Date: Sun Nov 12 09:58:05 2023 +0100
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 at devoogdt.com>
diff --git a/src/cairo-ft-private.h b/src/cairo-ft-private.h
index 836f7e523..6b0e30223 100644
--- a/src/cairo-ft-private.h
+++ b/src/cairo-ft-private.h
@@ -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;
More information about the cairo-commit
mailing list