Skip to content

Commit

Permalink
do not render glyphs during text layout
Browse files Browse the repository at this point in the history
  • Loading branch information
nulano committed May 27, 2020
1 parent a78de17 commit 59b252d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_imagingft.c
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ text_layout_fallback(PyObject* string, FontObject* self, const char* dir, PyObje
return 0;
}

load_flags = FT_LOAD_RENDER|FT_LOAD_NO_BITMAP;
load_flags = FT_LOAD_BITMAP_METRICS_ONLY | FT_LOAD_NO_BITMAP;
if (mask) {
load_flags |= FT_LOAD_TARGET_MONO;
}
Expand Down

0 comments on commit 59b252d

Please sign in to comment.