[HarfBuzz] harfbuzz: Branch 'master'

Jonathan Kew jfkthame at gmail.com
Fri Nov 6 02:17:48 PST 2015


On 6/11/15 07:45, Behdad Esfahbod wrote:

> diff --git a/src/hb-buffer-private.hh b/src/hb-buffer-private.hh
> index 721e718..8d9ae7c 100644
> --- a/src/hb-buffer-private.hh
> +++ b/src/hb-buffer-private.hh
> @@ -35,6 +35,16 @@
>   #include "hb-unicode-private.hh"
>
>
> +#ifndef HB_BUFFER_MAX_EXPANSION_FACTOR
> +#define HB_BUFFER_MAX_EXPANSION_FACTOR 32
> +#endif
> +#ifndef HB_BUFFER_MAX_LEN_MIN
> +#define HB_BUFFER_MAX_LEN_MIN 8192
> +#endif
> +#ifndef HB_BUFFER_MAX_LEN_DEFAULT_

Oops -- there seems to be a stray underscore at the end here.

> +#define HB_BUFFER_MAX_LEN_DEFAULT 0x3FFFFFFF /* Shaping more than a billion chars? Let us know! */
> +#endif
> +



More information about the HarfBuzz mailing list