rougier / freetype-py

Python binding for the freetype library
Other
304 stars 88 forks source link

Ot svg support #174

Closed HinTak closed 1 year ago

HinTak commented 1 year ago

It works as is. There is a small problem as I haven't figured out how to populate a c pointer from the python side, so the ctx/state is currently a global instead. If I can't figure it out soon I'll probably add a comment about it and just merge as is.

HinTak commented 1 year ago

The global needs to stay at least partially, as otherwise python does not know that the state object kept by the c-side needs to stay around for the next call.