[HarfBuzz] Opentype features
Khaled Hosny
khaledhosny at eglug.org
Fri Jul 1 22:07:30 UTC 2016
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
More information about the HarfBuzz
mailing list