8000 Simplify file handling in ft2font. · matplotlib/matplotlib@97477d7 · GitHub
[go: up one dir, main page]

Skip to content
8000

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

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)
0