Detect TrueType Collections by checking the font data header instead of checking for "face->num_faces >1".