Fix index/offset for 'decorative' matcher. Bug 15890.
It seems indices in _FcMatchers array are slightly mixed up, MATCH_DECORATIVE should be 10, not 11. And MATCH_RASTERIZER_INDEX should be 13, not 12, right?
This commit is contained in:
parent
c6228a34b0
commit
b808204023
|
@ -226,17 +226,16 @@ static FcMatcher _FcMatchers [] = {
|
||||||
#define MATCH_WIDTH_INDEX 10
|
#define MATCH_WIDTH_INDEX 10
|
||||||
|
|
||||||
{ FC_DECORATIVE_OBJECT, FcCompareBool, 11, 11 },
|
{ FC_DECORATIVE_OBJECT, FcCompareBool, 11, 11 },
|
||||||
#define MATCH_DECORATIVE 11
|
#define MATCH_DECORATIVE 10
|
||||||
#define MATCH_DECORATIVE_INDEX 12
|
#define MATCH_DECORATIVE_INDEX 11
|
||||||
|
|
||||||
{ FC_ANTIALIAS_OBJECT, FcCompareBool, 12, 12 },
|
{ FC_ANTIALIAS_OBJECT, FcCompareBool, 12, 12 },
|
||||||
|
|
||||||
#define MATCH_ANTIALIAS 11
|
#define MATCH_ANTIALIAS 11
|
||||||
#define MATCH_ANTIALIAS_INDEX 12
|
#define MATCH_ANTIALIAS_INDEX 12
|
||||||
|
|
||||||
{ FC_RASTERIZER_OBJECT, FcCompareString, 13, 13 },
|
{ FC_RASTERIZER_OBJECT, FcCompareString, 13, 13 },
|
||||||
#define MATCH_RASTERIZER 12
|
#define MATCH_RASTERIZER 12
|
||||||
#define MATCH_RASTERIZER_INDEX 12
|
#define MATCH_RASTERIZER_INDEX 13
|
||||||
|
|
||||||
{ FC_OUTLINE_OBJECT, FcCompareBool, 14, 14 },
|
{ FC_OUTLINE_OBJECT, FcCompareBool, 14, 14 },
|
||||||
#define MATCH_OUTLINE 13
|
#define MATCH_OUTLINE 13
|
||||||
|
|
Loading…
Reference in New Issue