[HarfBuzz] _from_string functions require now len too

Jesse Jaara jesse.jaara at gmail.com
Sun Sep 18 11:03:32 PDT 2011


Im currently maintaining a package for a git version of libass in ArchLinux,.
But a recent git commit to harfbuz broke libass. As the hb_language_from_string
now requires the len param too, but libass currently only passes the string.
I have filed a bug to upstream. And have currently resolved the building
problem a with a patch that, passes 0 as the len. That was suggested by
some one in one #c irc-channel. Currently that makes it build and basic
subtitle handling is working fine in mplayer. But Im still wondering what would
be the right way to fix this.
What exacly is that len param for?
Can it be some static number like the 0, or isit calculated from somewhere?
-- 
(\_ /) copy the bunny to your profile
(0.o ) to help him achieve world domination.
(> <) come join the dark side.
/_|_\ (we have cookies.)



More information about the HarfBuzz mailing list