[pango] Better docs for pango_font_get_features



commit a3bfcb096338c5b88da9ad2eb2cde820ddb0958f
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jul 12 16:13:07 2019 -0400

    Better docs for pango_font_get_features
    
    Clarify that the default features of the
    rendering system are not included.

 pango/fonts.c | 8 +++++---
 1 file 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
  */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]