Add a global binding for the 'render' pattern element used by Xft; the lack

of said binding prevented programs from using FcPatterns through Xft.
This commit is contained in:
Patrick Lam 2005-09-11 05:17:28 +00:00
parent 8245771d5a
commit 0fa237d1e0
2 changed files with 2 additions and 1 deletions

View File

@ -96,6 +96,7 @@ typedef int FcBool;
#define FC_CAPABILITY "capability" /* String */
#define FC_FONTFORMAT "fontformat" /* String */
#define FC_EMBOLDEN "embolden" /* Bool - true if emboldening needed*/
#define FC_RENDER "render" /* Bool */
#define FC_DIR_CACHE_FILE "fonts.cache-"FC_CACHE_VERSION
#define FC_USER_CACHE_FILE ".fonts.cache-"FC_CACHE_VERSION

View File

@ -60,7 +60,6 @@ static const FcObjectType _FcBaseObjectTypes[] = {
{ FC_DPI, FcTypeDouble },
{ FC_RGBA, FcTypeInteger, },
{ FC_SCALE, FcTypeDouble, },
/* { FC_RENDER, FcTypeBool, },*/
{ FC_MINSPACE, FcTypeBool, },
{ FC_CHAR_WIDTH, FcTypeInteger },
{ FC_CHAR_HEIGHT, FcTypeInteger },
@ -71,6 +70,7 @@ static const FcObjectType _FcBaseObjectTypes[] = {
{ FC_CAPABILITY, FcTypeString },
{ FC_FONTFORMAT, FcTypeString },
{ FC_EMBOLDEN, FcTypeBool },
{ FC_RENDER, FcTypeBool, },
};
#define NUM_OBJECT_TYPES (sizeof _FcBaseObjectTypes / sizeof _FcBaseObjectTypes[0])