Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 97477d7

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 8d33af7 commit 97477d7

2 files changed

Lines changed: 49 additions & 312 deletions

File tree

src/file_compat.h

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

0 commit comments

Comments
 (0)