summaryrefslogtreecommitdiff
path: root/pango/fonts.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-11-06 21:31:26 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-11-07 09:59:09 -0500
commit6b7b3e9adb92bf10ab3c27466eb5276428865c0a (patch)
treeb7eefc0227e118645ef83b314c62c5d154df27fd /pango/fonts.c
parent0e5bd15d24d31eede8d6f664f5e15b2a508a6169 (diff)
downloadpango-6b7b3e9adb92bf10ab3c27466eb5276428865c0a.tar.gz
Add more casing variants
Add values for all the css casing variants to the PangoVariant enum.
Diffstat (limited to 'pango/fonts.c')
-rw-r--r--pango/fonts.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/pango/fonts.c b/pango/fonts.c
index fd98d91e..70a987e6 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -1019,7 +1019,12 @@ static const FieldMap style_map[] = {
static const FieldMap variant_map[] = {
{ PANGO_VARIANT_NORMAL, "" },
- { PANGO_VARIANT_SMALL_CAPS, "Small-Caps" }
+ { PANGO_VARIANT_SMALL_CAPS, "Small-Caps" },
+ { PANGO_VARIANT_ALL_SMALL_CAPS, "All-Small-Caps" },
+ { PANGO_VARIANT_PETITE_CAPS, "Petite-Caps" },
+ { PANGO_VARIANT_ALL_PETITE_CAPS, "All-Petite-Caps" },
+ { PANGO_VARIANT_UNICASE, "Unicase" },
+ { PANGO_VARIANT_TITLE_CAPS, "Title-Caps" }
};
static const FieldMap weight_map[] = {