Commit 97477d7
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 8d33af7 commit 97477d7
2 files changed
Lines changed: 49 additions & 312 deletions
This file was deleted.
0 commit comments