From 3a3f687b759ceb76fc1e6407980a4b2717a47219 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 4 May 2008 01:27:42 -0700 Subject: [PATCH] Add extended, caps, dunhill style mappings. extended -> expanded. caps, dunhill -> decorative --- src/fcfreetype.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/fcfreetype.c b/src/fcfreetype.c index 4ee8a63..a79308c 100644 --- a/src/fcfreetype.c +++ b/src/fcfreetype.c @@ -1016,6 +1016,7 @@ static const FcStringConst widthConsts[] = { { (FC8) "extraexpanded", FC_WIDTH_EXTRAEXPANDED }, { (FC8) "ultraexpanded", FC_WIDTH_ULTRAEXPANDED }, { (FC8) "expanded", FC_WIDTH_EXPANDED }, /* must be after *expanded */ + { (FC8) "extended", FC_WIDTH_EXPANDED }, }; #define NUM_WIDTH_CONSTS (int) (sizeof (widthConsts) / sizeof (widthConsts[0])) @@ -1036,11 +1037,11 @@ static const FcStringConst slantConsts[] = { static const FcStringConst decorativeConsts[] = { { (FC8) "shadow", FcTrue }, - { (FC8) "smallcaps", FcTrue }, + { (FC8) "caps", FcTrue }, { (FC8) "antiqua", FcTrue }, { (FC8) "romansc", FcTrue }, { (FC8) "embosed", FcTrue }, - { (FC8) "romansmallcaps", FcTrue }, + { (FC8) "dunhill", FcTrue }, }; #define NUM_DECORATIVE_CONSTS (int) (sizeof (decorativeConsts) / sizeof (decorativeConsts[0])) -- 2.39.2