From: Keith Packard Date: Sun, 4 May 2008 08:27:42 +0000 (-0700) Subject: Add extended, caps, dunhill style mappings. X-Git-Tag: 2.5.93~12 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=3a3f687b759ceb76fc1e6407980a4b2717a47219;p=fontconfig.git Add extended, caps, dunhill style mappings. extended -> expanded. caps, dunhill -> decorative --- 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]))