summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-12 16:13:07 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-12 16:13:07 -0400
commita3bfcb096338c5b88da9ad2eb2cde820ddb0958f (patch)
treee0a0ddb48f4e53b5276d14b4c4152c60144f5c85
parentff02c888d75199ce84de5bc7eeedf897da98a548 (diff)
downloadpango-a3bfcb096338c5b88da9ad2eb2cde820ddb0958f.tar.gz
Better docs for pango_font_get_features
Clarify that the default features of the rendering system are not included.
-rw-r--r--pango/fonts.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/pango/fonts.c b/pango/fonts.c
index 081596df..b04eb497 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -2335,10 +2335,12 @@ pango_font_covers (PangoFont *font,
* @len: the length of @features
* @num_features: (inout): the number of used items in @features
*
- * Obtain the OpenType features for this font.
+ * Obtain the OpenType features that are provided by the font.
+ * These are passed to the rendering system, together with features
+ * that have been explicitly set via attributes.
*
- * These are the features used by default for this font,
- * unless overridden.
+ * Note that this does not include OpenType features which the
+ * rendering system enables by default.
*
* Since: 1.44
*/