[pango/pango2: 214/301] document hbfont properties
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2: 214/301] document hbfont properties
- Date: Wed, 22 Jun 2022 15:53:40 +0000 (UTC)
commit 6cd2916e2a6a1cfb239d23a84719efc015041994
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jun 11 23:44:51 2022 -0400
document hbfont properties
pango/pango-hbfont.c | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/pango/pango-hbfont.c b/pango/pango-hbfont.c
index 7fe0b52d5..373f3bb98 100644
--- a/pango/pango-hbfont.c
+++ b/pango/pango-hbfont.c
@@ -921,6 +921,13 @@ pango_hb_font_class_init (PangoHbFontClass *class)
font_class->get_features = pango_hb_font_get_features;
font_class->get_transform = pango_hb_font_get_transform;
+ /**
+ * PangoHbFont:variations: (attributes org.gtk.Property.get=pango_hb_font_get_variations)
+ *
+ * The variations that are applied for this font.
+ *
+ * This property contains a string representation of the variations.
+ */
properties[PROP_VARIATIONS] =
g_param_spec_string ("variations", NULL, NULL, NULL,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]