[HarfBuzz] Opentype features

Khaled Hosny khaledhosny at eglug.org
Fri Jul 1 22:21:01 UTC 2016


The same issue.

On Fri, Jul 01, 2016 at 06:17:11PM -0400, Kelvin Ma wrote:
> what about the segfault
> 
> 
> On Fri, Jul 1, 2016 at 6:07 PM, Khaled Hosny <khaledhosny at eglug.org> wrote:
> 
> > 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