Re: [HarfBuzz] language-code issues

2010-04-29 Thread Behdad Esfahbod
On 04/28/2010 08:13 PM, Jonathan Kew wrote: > I've run across a couple of things that seem wrong in the language code > support (harfbuzz-ng). > > (1) hb_language_from_string() fails to increment num_langs when it allocates > a new language code, so it never actually remembers what it has alloca

[HarfBuzz] language-code issues

2010-04-28 Thread Jonathan Kew
I've run across a couple of things that seem wrong in the language code support (harfbuzz-ng). (1) hb_language_from_string() fails to increment num_langs when it allocates a new language code, so it never actually remembers what it has allocated! diff --git a/gfx/harfbuzz/src/hb-language.c b/gf