On Fri, Jul 01, 2016 at 03:02:45PM -0400, Kelvin Ma wrote:
> so if this
> <https://lazka.github.io/pgi-docs/HarfBuzz-0.0/functions.html#HarfBuzz.tag_from_string>
> isn’t lying then it looks like i gotta do
> 
> otint = hb.tag_from_string(list(map(ord, 'onum')))

hb.tag_from_string(b'onum')

> otfeature = [' ', ' ', ' ', ' ']
> hb.tag_to_string(otint, otfeature)
> print(otfeature)
> 
> to round-trip a opentype feature through harfbuzz…
> and of course
> 
> >>> Segmentation fault (core dumped)

Bug in the annotation:
https://github.com/behdad/harfbuzz/pull/286

Regards,
Khaled
_______________________________________________
HarfBuzz mailing list
HarfBuzz@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to