fontchooser: Add some details to the docs
authorMatthias Clasen <mclasen@redhat.com>
Wed, 21 Sep 2022 11:28:26 +0000 (07:28 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 21 Sep 2022 13:39:06 +0000 (09:39 -0400)
gtk/gtkfontchooser.c

index fb87ed0ca42442ac6271689e8b0d180972e0cbd4..413124d3d3dd103d2832723be77d74c13b128879 100644 (file)
@@ -524,6 +524,10 @@ gtk_font_chooser_get_level (GtkFontChooser *fontchooser)
  *
  * Gets the currently-selected font features.
  *
+ * The format of the returned string is compatible with the
+ * [CSS font-feature-settings property](https://www.w3.org/TR/css-fonts-4/#font-rend-desc).
+ * It can be passed to [func@Pango.AttrFontFeatures.new].
+ *
  * Returns: the currently selected font features
  */
 char *