diff --git a/src/fcfreetype.c b/src/fcfreetype.c index de05aa6..995a3b8 100644 --- a/src/fcfreetype.c +++ b/src/fcfreetype.c @@ -2100,7 +2100,7 @@ FcFreeTypeQueryAll(const FcChar8 *file, else { face_num++; - instance_num = 0; + instance_num = set_instance_num; } } while (!err && (!index_set || face_num == set_face_num) && face_num < num_faces);