Skip to content

Commit

Permalink
Merge pull request #4652 from nulano/ft-getsize
Browse files Browse the repository at this point in the history
Do not render glyphs during text layout
  • Loading branch information
radarhere committed May 27, 2020
2 parents a78de17 + 7b8805f commit 8e6e728
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_NO_BITMAP;
if (mask) {
load_flags |= FT_LOAD_TARGET_MONO;
}
Expand Down

0 comments on commit 8e6e728

Please sign in to comment.