Rename FcCompareSizeRange() to FcCompareRange()
This commit is contained in:
parent
7519c567e1
commit
e7a0a0a999
|
@ -156,7 +156,7 @@ FcCompareCharSet (FcValue *v1, FcValue *v2)
|
||||||
}
|
}
|
||||||
|
|
||||||
static double
|
static double
|
||||||
FcCompareSizeRange (FcValue *v1, FcValue *v2)
|
FcCompareRange (FcValue *v1, FcValue *v2)
|
||||||
{
|
{
|
||||||
FcValue value1 = FcValueCanonicalize (v1);
|
FcValue value1 = FcValueCanonicalize (v1);
|
||||||
FcValue value2 = FcValueCanonicalize (v2);
|
FcValue value2 = FcValueCanonicalize (v2);
|
||||||
|
@ -227,7 +227,7 @@ FcCompareFilename (FcValue *v1, FcValue *v2)
|
||||||
#define PRI_FcCompareCharSet(n) PRI1(n)
|
#define PRI_FcCompareCharSet(n) PRI1(n)
|
||||||
#define PRI_FcCompareLang(n) PRI1(n)
|
#define PRI_FcCompareLang(n) PRI1(n)
|
||||||
#define PRI_FcComparePostScript(n) PRI1(n)
|
#define PRI_FcComparePostScript(n) PRI1(n)
|
||||||
#define PRI_FcCompareSizeRange(n) PRI1(n)
|
#define PRI_FcCompareRange(n) PRI1(n)
|
||||||
|
|
||||||
#define FC_OBJECT(NAME, Type, Cmp) PRI_##Cmp(NAME)
|
#define FC_OBJECT(NAME, Type, Cmp) PRI_##Cmp(NAME)
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ FC_OBJECT (FULLNAMELANG, FcTypeString, NULL)
|
||||||
FC_OBJECT (SLANT, FcTypeInteger, FcCompareNumber)
|
FC_OBJECT (SLANT, FcTypeInteger, FcCompareNumber)
|
||||||
FC_OBJECT (WEIGHT, FcTypeInteger, FcCompareNumber)
|
FC_OBJECT (WEIGHT, FcTypeInteger, FcCompareNumber)
|
||||||
FC_OBJECT (WIDTH, FcTypeInteger, FcCompareNumber)
|
FC_OBJECT (WIDTH, FcTypeInteger, FcCompareNumber)
|
||||||
FC_OBJECT (SIZE, FcTypeRange, FcCompareSizeRange)
|
FC_OBJECT (SIZE, FcTypeRange, FcCompareRange)
|
||||||
FC_OBJECT (ASPECT, FcTypeDouble, NULL)
|
FC_OBJECT (ASPECT, FcTypeDouble, NULL)
|
||||||
FC_OBJECT (PIXEL_SIZE, FcTypeDouble, FcCompareNumber)
|
FC_OBJECT (PIXEL_SIZE, FcTypeDouble, FcCompareNumber)
|
||||||
FC_OBJECT (SPACING, FcTypeInteger, FcCompareNumber)
|
FC_OBJECT (SPACING, FcTypeInteger, FcCompareNumber)
|
||||||
|
|
Loading…
Reference in New Issue