[cogl/cogl-1.22] Add fallback for semi-private symbols in Pango
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/cogl-1.22] Add fallback for semi-private symbols in Pango
- Date: Sun, 7 Jul 2019 08:35:54 +0000 (UTC)
commit 7c7239eb3420c4a112805b960d3733b3bf66717c
Author: Emmanuele Bassi <ebassi gnome org>
Date: Sun Jul 7 09:31:07 2019 +0100
Add fallback for semi-private symbols in Pango
Pango dropped the PANGO_ENABLE_BACKEND and PANGO_ENABLE_ENGINE symbols,
so we need to add our own defines to avoid breaking the build.
cogl-pango/cogl-pango-render.c | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/cogl-pango/cogl-pango-render.c b/cogl-pango/cogl-pango-render.c
index a8855eac..fbf9949a 100644
--- a/cogl-pango/cogl-pango-render.c
+++ b/cogl-pango/cogl-pango-render.c
@@ -41,6 +41,13 @@
#define PANGO_ENABLE_BACKEND 1
#endif
+#ifndef PANGO_UNKNOWN_GLYPH_WIDTH
+#define PANGO_UNKNOWN_GLYPH_WIDTH 10
+#endif
+#ifndef PANGO_UNKNOWN_GLYPH_HEIGHT
+#define PANGO_UNKNOWN_GLYPH_HEIGHT 14
+#endif
+
#include <pango/pango-fontmap.h>
#include <pango/pangocairo.h>
#include <pango/pango-renderer.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]