[issue15306] Python3 segfault? (works in Python2)
Amaury Forgeot d'Arc
report at bugs.python.org
Mon Jul 9 17:21:16 CEST 2012
Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:
How is the fix related to Python?
Also, you pass a unicode string to freetype.FT_New_Face.
You should probably pass a bytes string there, and in any case set the "argtypes" and "restypes" attributes to ctypes functions, to prevent such failures.
----------
nosy: +amaury.forgeotdarc
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15306>
_______________________________________
More information about the Python-bugs-list
mailing list