[HarfBuzz] [PATCH] hb-old: the allocated scratch memory contains non-zero values that end up interpolated with real offset values

Behdad Esfahbod behdad at behdad.org
Thu Sep 6 12:31:55 PDT 2012


On 09/06/2012 02:26 PM, Harshula wrote:
>    char *scratch = (char *) buffer->get_scratch_buffer (&scratch_size);
> +  memset(scratch, 0, scratch_size);

Ah, right.  The offset array needs clearing.  I saw the Android people
discover this a while ago, but forgot.

Thanks for tracking down.

behdad



More information about the HarfBuzz mailing list