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:
parent
8245771d5a
commit
0fa237d1e0
|
@ -96,6 +96,7 @@ typedef int FcBool;
|
||||||
#define FC_CAPABILITY "capability" /* String */
|
#define FC_CAPABILITY "capability" /* String */
|
||||||
#define FC_FONTFORMAT "fontformat" /* String */
|
#define FC_FONTFORMAT "fontformat" /* String */
|
||||||
#define FC_EMBOLDEN "embolden" /* Bool - true if emboldening needed*/
|
#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_DIR_CACHE_FILE "fonts.cache-"FC_CACHE_VERSION
|
||||||
#define FC_USER_CACHE_FILE ".fonts.cache-"FC_CACHE_VERSION
|
#define FC_USER_CACHE_FILE ".fonts.cache-"FC_CACHE_VERSION
|
||||||
|
|
|
@ -60,7 +60,6 @@ static const FcObjectType _FcBaseObjectTypes[] = {
|
||||||
{ FC_DPI, FcTypeDouble },
|
{ FC_DPI, FcTypeDouble },
|
||||||
{ FC_RGBA, FcTypeInteger, },
|
{ FC_RGBA, FcTypeInteger, },
|
||||||
{ FC_SCALE, FcTypeDouble, },
|
{ FC_SCALE, FcTypeDouble, },
|
||||||
/* { FC_RENDER, FcTypeBool, },*/
|
|
||||||
{ FC_MINSPACE, FcTypeBool, },
|
{ FC_MINSPACE, FcTypeBool, },
|
||||||
{ FC_CHAR_WIDTH, FcTypeInteger },
|
{ FC_CHAR_WIDTH, FcTypeInteger },
|
||||||
{ FC_CHAR_HEIGHT, FcTypeInteger },
|
{ FC_CHAR_HEIGHT, FcTypeInteger },
|
||||||
|
@ -71,6 +70,7 @@ static const FcObjectType _FcBaseObjectTypes[] = {
|
||||||
{ FC_CAPABILITY, FcTypeString },
|
{ FC_CAPABILITY, FcTypeString },
|
||||||
{ FC_FONTFORMAT, FcTypeString },
|
{ FC_FONTFORMAT, FcTypeString },
|
||||||
{ FC_EMBOLDEN, FcTypeBool },
|
{ FC_EMBOLDEN, FcTypeBool },
|
||||||
|
{ FC_RENDER, FcTypeBool, },
|
||||||
};
|
};
|
||||||
|
|
||||||
#define NUM_OBJECT_TYPES (sizeof _FcBaseObjectTypes / sizeof _FcBaseObjectTypes[0])
|
#define NUM_OBJECT_TYPES (sizeof _FcBaseObjectTypes / sizeof _FcBaseObjectTypes[0])
|
||||||
|
|
Loading…
Reference in New Issue