[varfonts] Minor
This commit is contained in:
parent
5ee9c38df7
commit
e85afde2d6
|
@ -1264,21 +1264,21 @@ FcFreeTypeQueryFace (const FT_Face face,
|
||||||
elt = FC_WEIGHT;
|
elt = FC_WEIGHT;
|
||||||
min_value = FcWeightFromOpenType (min_value);
|
min_value = FcWeightFromOpenType (min_value);
|
||||||
max_value = FcWeightFromOpenType (max_value);
|
max_value = FcWeightFromOpenType (max_value);
|
||||||
variable = variable_weight = FcTrue;
|
variable_weight = FcTrue;
|
||||||
weight = 0; /* To stop looking for weight. */
|
weight = 0; /* To stop looking for weight. */
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case FT_MAKE_TAG ('w','d','t','h'):
|
case FT_MAKE_TAG ('w','d','t','h'):
|
||||||
elt = FC_WIDTH;
|
elt = FC_WIDTH;
|
||||||
/* Values in 'wdth' match Fontconfig FC_WIDTH_* scheme directly. */
|
/* Values in 'wdth' match Fontconfig FC_WIDTH_* scheme directly. */
|
||||||
variable = variable_width = FcTrue;
|
variable_width = FcTrue;
|
||||||
width = 0; /* To stop looking for width. */
|
width = 0; /* To stop looking for width. */
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case FT_MAKE_TAG ('o','p','s','z'):
|
case FT_MAKE_TAG ('o','p','s','z'):
|
||||||
elt = FC_SIZE;
|
elt = FC_SIZE;
|
||||||
/* Values in 'opsz' match Fontconfig FC_SIZE, both are in points. */
|
/* Values in 'opsz' match Fontconfig FC_SIZE, both are in points. */
|
||||||
variable = variable_size = FcTrue;
|
variable_size = FcTrue;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1291,6 +1291,7 @@ FcFreeTypeQueryFace (const FT_Face face,
|
||||||
goto bail1;
|
goto bail1;
|
||||||
}
|
}
|
||||||
FcRangeDestroy (r);
|
FcRangeDestroy (r);
|
||||||
|
variable = FcTrue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue