Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether to load
embedded bitmaps or not. reviewed by: plam
This commit is contained in:
parent
961d9b9993
commit
720298e773
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
|
||||
reviewed by: plam
|
||||
|
||||
* fontconfig/fonts.conf.in:
|
||||
* fontconfig/fontconfig.h:
|
||||
* src/fcdefault.c:
|
||||
* src/fcname.c:
|
||||
|
||||
Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
|
||||
to load embedded bitmaps or not.
|
||||
|
||||
2005-10-25 Patrick Lam <plam@mit.edu>
|
||||
* src/fcfreetype.c (FcFreeTypeQuery):
|
||||
|
||||
|
|
|
@ -102,6 +102,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_EMBEDDED_BITMAP "embeddedbitmap" /* Bool - true to enable embedded bitmaps */
|
||||
|
||||
#define FC_DIR_CACHE_FILE "fonts.cache-"FC_CACHE_VERSION
|
||||
#define FC_USER_CACHE_FILE ".fonts.cache-"FC_CACHE_VERSION
|
||||
|
|
|
@ -341,6 +341,10 @@
|
|||
<edit name="slant" mode="assign">
|
||||
<const>oblique</const>
|
||||
</edit>
|
||||
<!-- and disable embedded bitmaps for artificial oblique -->
|
||||
<edit name="embeddedbitmap" mode="assign">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<!--
|
||||
|
|
|
@ -33,6 +33,7 @@ static struct {
|
|||
{ FC_VERTICAL_LAYOUT, FcFalse }, /* FC_LOAD_VERTICAL_LAYOUT */
|
||||
{ FC_AUTOHINT, FcFalse }, /* FC_LOAD_FORCE_AUTOHINT */
|
||||
{ FC_GLOBAL_ADVANCE, FcTrue }, /* !FC_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH */
|
||||
{ FC_EMBEDDED_BITMAP, FcTrue }, /* !FC_LOAD_NO_BITMAP */
|
||||
};
|
||||
|
||||
#define NUM_FC_BOOL_DEFAULTS (int) (sizeof FcBoolDefaults / sizeof FcBoolDefaults[0])
|
||||
|
|
|
@ -72,6 +72,7 @@ static const FcObjectType _FcBaseObjectTypes[] = {
|
|||
{ FC_CAPABILITY, FcTypeString },
|
||||
{ FC_FONTFORMAT, FcTypeString },
|
||||
{ FC_EMBOLDEN, FcTypeBool },
|
||||
{ FC_EMBEDDED_BITMAP, FcTypeBool },
|
||||
};
|
||||
|
||||
#define NUM_OBJECT_TYPES (sizeof _FcBaseObjectTypes / sizeof _FcBaseObjectTypes[0])
|
||||
|
|
Loading…
Reference in New Issue