[pango/small-caps: 3/11] Add PANGO_FONT_SCALE_SMALL_CAPS
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/small-caps: 3/11] Add PANGO_FONT_SCALE_SMALL_CAPS
- Date: Sun, 7 Nov 2021 03:56:15 +0000 (UTC)
commit 3d846e823c6370a23ec6b02d14c23baa6fa0684c
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..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;
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]