Ask on gobject-introspection / pygoject lists forums. Or figure out how to use ctypes. Or something else. I don't have time to spend on this right now.
Thanks On Fri, Aug 5, 2016 at 3:59 PM, Kelvin Ma <[email protected]> wrote: > Since patching The Library appears to be a nonstarter, then what is the > correct, workable way to unpack the <hb_glyph_info_t> and > <hb_glyph_position_t> objects given by the harfbuzz PyGObject buffer? As I > have mentioned many, many times, performing dynamic lookups on four struct > attributes is too inefficient to be useful for extracting shaped text from > “the real world”. It is over ten times slower than the original C function. > > Unless an alternative method exists, I’m afraid the harfbuzz python bindings > are only useful for shaping trivial amounts of text. > > _______________________________________________ > HarfBuzz mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/harfbuzz > -- behdad http://behdad.org/ _______________________________________________ HarfBuzz mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/harfbuzz
