summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-11-06 20:45:48 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-11-07 07:29:15 -0500
commit6815efd7ac1013c11ca16e6ac94e560cb680ecfe (patch)
treea35572d5893feb6ee07db124ee48fd2a5f0f92ea
parentfcb44cf2fb2ef013d03e968011ceb9b2f4eaf687 (diff)
downloadpango-6815efd7ac1013c11ca16e6ac94e560cb680ecfe.tar.gz
Add PANGO_FONT_SCALE_SMALL_CAPS
This will be used in the implementation of emulated Small Caps.
-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;
/**