Skip to content

Commit 36540bf

Browse files
committed
Simplify file handling in ft2font.
Just call the Python-level seek(), read() and close() instead of trying to play with C-level FILE*. Note that unlike the png case, we can't just pass restrict ourselves to passing in file-like objects because FT2Font is public API.
1 parent 5407256 commit 36540bf

File tree

2 files changed

+49
-312
lines changed

2 files changed

+49
-312
lines changed

src/file_compat.h

Lines changed: 0 additions & 220 deletions
This file was deleted.

0 commit comments

Comments
 (0)