[varfonts] Change FC_WEIGHT and FC_WIDTH into ranges

This commit is contained in:
Behdad Esfahbod 2017-09-13 03:31:48 -04:00
parent f034c86756
commit d3a7c3ce69
1 changed files with 2 additions and 2 deletions

View File

@ -29,8 +29,8 @@ FC_OBJECT (STYLELANG, FcTypeString, NULL)
FC_OBJECT (FULLNAME, FcTypeString, NULL) FC_OBJECT (FULLNAME, FcTypeString, NULL)
FC_OBJECT (FULLNAMELANG, FcTypeString, NULL) FC_OBJECT (FULLNAMELANG, FcTypeString, NULL)
FC_OBJECT (SLANT, FcTypeInteger, FcCompareNumber) FC_OBJECT (SLANT, FcTypeInteger, FcCompareNumber)
FC_OBJECT (WEIGHT, FcTypeInteger, FcCompareNumber) FC_OBJECT (WEIGHT, FcTypeRange, FcCompareRange)
FC_OBJECT (WIDTH, FcTypeInteger, FcCompareNumber) FC_OBJECT (WIDTH, FcTypeRange, FcCompareRange)
FC_OBJECT (SIZE, FcTypeRange, FcCompareRange) 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)