You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now we have draw_glyph_with_pen this library is no longer a plain wrapper around the Harfbuzz API. I suggest we move uharfbuzz unique functions to a separate Python file where they can be documented. My Cython-fu is not good enough to know how to do this.
The text was updated successfully, but these errors were encountered:
you could either add a pure-python module for the wrappers (but then you can only use pure-python import, not any Cython or C++ types), or you could add a new .pyx cython module inside src/uharfbuzz containing your new wrappers, then you also need to create a _harfbuzz.pxd and move there all the cdef Cython declarations in the current _harbuzz.pyx so that other Cython modules (like the one you're adding) can cimport them, see https://cython.readthedocs.io/en/latest/src/userguide/sharing_declarations.html
Also, in setup.py you pass the filename of your new .pyx module to cythonize function (which can take a list of .pyx filenames or distutils Extension classes)
Now we have draw_glyph_with_pen this library is no longer a plain wrapper around the Harfbuzz API. I suggest we move uharfbuzz unique functions to a separate Python file where they can be documented. My Cython-fu is not good enough to know how to do this.
The text was updated successfully, but these errors were encountered: