As pointed out in #198. This is certainly just a typo.
Fixes #198.
// The font provider gave us a post_script name and is not sure
// about the face index.. so use the postscript name to find the
// correct face_index in the collection!
- for (int i = 0; face->num_faces; i++) {
+ for (int i = 0; i < face->num_faces; i++) {
FT_Done_Face(face);
error = FT_New_Face(font->ftlibrary, path, i, &face);
if (error) {