[pango/small-caps: 2/5] Add PANGO_FONT_SCALE_SMALL_CAPS




commit 8e6c47ddd2df7b451d2b3127a05078dc18c7a451
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Nov 6 20:45:48 2021 -0400

    Add PANGO_FONT_SCALE_SMALL_CAPS
    
    This will be used in the implementation of emulated
    Small Caps.

 pango/pango-attributes.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/pango/pango-attributes.h b/pango/pango-attributes.h
index 51b9b077..57e28549 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
  *
  * 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;
 
 /**


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