Rename FcCompareSizeRange() to FcCompareRange()

This commit is contained in:
Behdad Esfahbod 2017-09-12 18:55:03 -04:00
parent 7519c567e1
commit e7a0a0a999
2 changed files with 3 additions and 3 deletions

View File

@ -156,7 +156,7 @@ FcCompareCharSet (FcValue *v1, FcValue *v2)
}
static double
FcCompareSizeRange (FcValue *v1, FcValue *v2)
FcCompareRange (FcValue *v1, FcValue *v2)
{
FcValue value1 = FcValueCanonicalize (v1);
FcValue value2 = FcValueCanonicalize (v2);
@ -227,7 +227,7 @@ FcCompareFilename (FcValue *v1, FcValue *v2)
#define PRI_FcCompareCharSet(n) PRI1(n)
#define PRI_FcCompareLang(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)

View File

@ -31,7 +31,7 @@ FC_OBJECT (FULLNAMELANG, FcTypeString, NULL)
FC_OBJECT (SLANT, FcTypeInteger, FcCompareNumber)
FC_OBJECT (WEIGHT, FcTypeInteger, FcCompareNumber)
FC_OBJECT (WIDTH, FcTypeInteger, FcCompareNumber)
FC_OBJECT (SIZE, FcTypeRange, FcCompareSizeRange)
FC_OBJECT (SIZE, FcTypeRange, FcCompareRange)
FC_OBJECT (ASPECT, FcTypeDouble, NULL)
FC_OBJECT (PIXEL_SIZE, FcTypeDouble, FcCompareNumber)
FC_OBJECT (SPACING, FcTypeInteger, FcCompareNumber)