summaryrefslogtreecommitdiff
path: root/pango/fonts.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-03-06 17:25:36 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-03-06 17:25:36 +0000
commit542b674b6ef8cdb8deb751aba2697869ceef8b04 (patch)
treebaca9000a6f71c87362f76ab99b9869215d468be /pango/fonts.c
parent74a3b0e23ff9797780e074db3ba5b48396917ed0 (diff)
downloadpango-542b674b6ef8cdb8deb751aba2697869ceef8b04.tar.gz
Add some text names to weight map for weights that were added to the
Wed Mar 6 12:12:21 2002 Owen Taylor <otaylor@redhat.com> * pango/fonts.c: Add some text names to weight map for weights that were added to the PangoWeight enumeration but not here. (#73728, Arnaud Charlet)
Diffstat (limited to 'pango/fonts.c')
-rw-r--r--pango/fonts.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/pango/fonts.c b/pango/fonts.c
index 5051604c..1098ae0f 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -706,11 +706,14 @@ static FieldMap variant_map[] = {
};
static FieldMap weight_map[] = {
- { 300, "Light" },
+ { PANGO_WEIGHT_ULTRALIGHT, "Ultra-Light" },
+ { PANGO_WEIGHT_LIGHT, "Light" },
{ PANGO_WEIGHT_NORMAL, NULL },
{ 500, "Medium" },
{ 600, "Semi-Bold" },
- { PANGO_WEIGHT_BOLD, "Bold" }
+ { PANGO_WEIGHT_BOLD, "Bold" },
+ { PANGO_WEIGHT_ULTRABOLD, "Ultra-Bold" },
+ { PANGO_WEIGHT_HEAVY, "Heavy" }
};
static FieldMap stretch_map[] = {