[pango/pango2: 39/56] document hbfont properties
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2: 39/56] document hbfont properties
- Date: Tue, 14 Jun 2022 03:59:26 +0000 (UTC)
commit 3f11b1568472bc8143018e61d205e1dff7d0a7e4
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]