<div dir="ltr">what about the segfault<span style="font-family:monospace,monospace"></span><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 1, 2016 at 6:07 PM, Khaled Hosny <span dir="ltr"><<a href="mailto:khaledhosny@eglug.org" target="_blank">khaledhosny@eglug.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Jul 01, 2016 at 03:02:45PM -0400, Kelvin Ma wrote:<br>
> so if this<br>
> <<a href="https://lazka.github.io/pgi-docs/HarfBuzz-0.0/functions.html#HarfBuzz.tag_from_string" rel="noreferrer" target="_blank">https://lazka.github.io/pgi-docs/HarfBuzz-0.0/functions.html#HarfBuzz.tag_from_string</a>><br>
<span class="">> isn’t lying then it looks like i gotta do<br>
><br>
> otint = hb.tag_from_string(list(map(ord, 'onum')))<br>
<br>
</span>hb.tag_from_string(b'onum')<br>
<span class=""><br>
> otfeature = [' ', ' ', ' ', ' ']<br>
> hb.tag_to_string(otint, otfeature)<br>
> print(otfeature)<br>
><br>
> to round-trip a opentype feature through harfbuzz…<br>
> and of course<br>
><br>
> >>> Segmentation fault (core dumped)<br>
<br>
</span>Bug in the annotation:<br>
<a href="https://github.com/behdad/harfbuzz/pull/286" rel="noreferrer" target="_blank">https://github.com/behdad/harfbuzz/pull/286</a><br>
<br>
Regards,<br>
Khaled<br>
</blockquote></div><br></div>