summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-06-11 23:44:51 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-06-22 13:54:02 -0400
commit9fdaee51c9df985748ecae29572a8abc77a29c75 (patch)
treee7526d0a7f924ff3e692f78457ac94a5b89591df /pango
parentabdadab9a6183f763f75b52b9007773606e46073 (diff)
downloadpango-9fdaee51c9df985748ecae29572a8abc77a29c75.tar.gz
document hbfont properties
Diffstat (limited to 'pango')
-rw-r--r--pango/pango-hbfont.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/pango/pango-hbfont.c b/pango/pango-hbfont.c
index 7fe0b52d..373f3bb9 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);