[pango/pango2: 80/135] fixup font description
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2: 80/135] fixup font description
- Date: Fri, 18 Feb 2022 20:11:01 +0000 (UTC)
commit 841769f975fcd1b5783890d65e043a4f78ee1c40
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Feb 17 17:03:20 2022 -0600
fixup font description
pango/pango-font-description-private.h | 14 ++++++++++++++
pango/pango-font-description.c | 2 +-
2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/pango/pango-font-description-private.h b/pango/pango-font-description-private.h
new file mode 100644
index 00000000..835dfbf4
--- /dev/null
+++ b/pango/pango-font-description-private.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#include "pango-font-description.h"
+
+G_BEGIN_DECLS
+
+gboolean pango_font_description_is_similar (const PangoFontDescription *a,
+ const PangoFontDescription *b);
+
+int pango_font_description_compute_distance (const PangoFontDescription *a,
+ const PangoFontDescription *b);
+
+G_END_DECLS
+
diff --git a/pango/pango-font-description.c b/pango/pango-font-description.c
index 7407cc93..ca99b56a 100644
--- a/pango/pango-font-description.c
+++ b/pango/pango-font-description.c
@@ -21,7 +21,7 @@
#include "config.h"
-#include "pango-font-description.h"
+#include "pango-font-description-private.h"
#include "pango-utils-internal.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]