diff options
author | Owen Taylor <otaylor@redhat.com> | 2004-12-14 23:33:26 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2004-12-14 23:33:26 +0000 |
commit | 51c48b557c6aeaa3dd457e6d034ecdab99a271d6 (patch) | |
tree | 82eb1a97d25e4c0cb3f04a12e40ccf548cc4e12f /pango/fonts.c | |
parent | 325592919b30fe556c57adf10b6b2d12cfcad93d (diff) | |
download | pango-51c48b557c6aeaa3dd457e6d034ecdab99a271d6.tar.gz |
Add PANGO_WEIGHT_SEMIBOLD. (#86957, Lars Clausen)
Tue Dec 14 18:08:36 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-font.h: Add PANGO_WEIGHT_SEMIBOLD.
(#86957, Lars Clausen)
* pango/fonts.c: s/600/PANGO_WEIGHT_SEMIBOLD.
* pango/pangofc-fontmap.c (pango_fc_convert_weight_to_fc)
* pango/pangofc-fontmap.c (pango_fc_convert_weight_to_pango):
Handle PANGO_WEIGHT_SEMIBOLD, use additional weights added
in fontconfig-2.2.
Diffstat (limited to 'pango/fonts.c')
-rw-r--r-- | pango/fonts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/fonts.c b/pango/fonts.c index e6692927..f39d65a1 100644 --- a/pango/fonts.c +++ b/pango/fonts.c @@ -729,7 +729,7 @@ static FieldMap weight_map[] = { { PANGO_WEIGHT_LIGHT, "Light" }, { PANGO_WEIGHT_NORMAL, NULL }, { 500, "Medium" }, - { 600, "Semi-Bold" }, + { PANGO_WEIGHT_SEMIBOLD, "Semi-Bold" }, { PANGO_WEIGHT_BOLD, "Bold" }, { PANGO_WEIGHT_ULTRABOLD, "Ultra-Bold" }, { PANGO_WEIGHT_HEAVY, "Heavy" } |