summaryrefslogtreecommitdiff
path: root/pango/pango-attributes.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-11-08 13:47:52 +0000
committerMatthias Clasen <mclasen@redhat.com>2021-11-08 13:47:52 +0000
commit78d4efd6af8fc37b93b1dafb7c3b7101b389a565 (patch)
tree857deeac1c70f10038c2e967d0238f1845964533 /pango/pango-attributes.h
parent9d389e936707ebcf84fbc64d07b8aa17cdf2ef04 (diff)
parent1790dbf9da8a4249528833ead1af32d232861b64 (diff)
downloadpango-78d4efd6af8fc37b93b1dafb7c3b7101b389a565.tar.gz
Merge branch 'small-caps' into 'main'
Emulate Small Caps if not available from the font See merge request GNOME/pango!497
Diffstat (limited to 'pango/pango-attributes.h')
-rw-r--r--pango/pango-attributes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pango/pango-attributes.h b/pango/pango-attributes.h
index 51b9b077..018417d5 100644
--- a/pango/pango-attributes.h
+++ b/pango/pango-attributes.h
@@ -253,9 +253,10 @@ typedef enum {
* @PANGO_FONT_SCALE_NONE: Leave the font size unchanged
* @PANGO_FONT_SCALE_SUPERSCRIPT: Change the font to a size suitable for superscripts
* @PANGO_FONT_SCALE_SUBSCRIPT: Change the font to a size suitable for subscripts
+ * @PANGO_FONT_SCALE_SMALL_CAPS: Change the font to a size suitable for Small Caps. Since: 1.50
*
* An enumeration that affects font sizes for superscript
- * and subscript positioning.
+ * and subscript positioning and for (emulated) Small Caps.
*
* Since: 1.50
*/
@@ -263,6 +264,7 @@ typedef enum {
PANGO_FONT_SCALE_NONE,
PANGO_FONT_SCALE_SUPERSCRIPT,
PANGO_FONT_SCALE_SUBSCRIPT,
+ PANGO_FONT_SCALE_SMALL_CAPS,
} PangoFontScale;
/**