diff options
-rw-r--r-- | docs/pango_markup.md | 4 | ||||
-rw-r--r-- | pango/fonts.c | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/docs/pango_markup.md b/docs/pango_markup.md index dcabad93..6a6cc3c2 100644 --- a/docs/pango_markup.md +++ b/docs/pango_markup.md @@ -98,7 +98,9 @@ weight font_variant variant -: One of 'normal' or 'smallcaps'. +: One of 'normal', 'small-caps', 'all-small-caps', 'petite-caps', 'all-petite-caps', + 'unicase', 'title-caps'. Values other than 'normal' and 'small-caps' are available + since 1.50. font_stretch stretch diff --git a/pango/fonts.c b/pango/fonts.c index 129e84d3..fd283264 100644 --- a/pango/fonts.c +++ b/pango/fonts.c @@ -1627,7 +1627,8 @@ pango_parse_style (const char *str, * * Parses a font variant. * - * The allowed values are "normal" and "smallcaps" or "small_caps", + * The allowed values are "normal", "small-caps", "all-small-caps", + * "petite-caps", "all-petite-caps", "unicase" and "title-caps", * case variations being ignored. * * Return value: %TRUE if @str was successfully parsed. |