| Index: third_party/harfbuzz-ng/src/hb-shape.h
|
| diff --git a/third_party/harfbuzz-ng/src/hb-shape.h b/third_party/harfbuzz-ng/src/hb-shape.h
|
| index 1a0d6cf6184bedbb5bde6789aceddd70551eb996..90a188d2a9c8042ac53d2db10dc03a926f96002b 100644
|
| --- a/third_party/harfbuzz-ng/src/hb-shape.h
|
| +++ b/third_party/harfbuzz-ng/src/hb-shape.h
|
| @@ -1,5 +1,6 @@
|
| /*
|
| * Copyright © 2009 Red Hat, Inc.
|
| + * Copyright © 2012 Google, Inc.
|
| *
|
| * This is part of HarfBuzz, a text shaping library.
|
| *
|
| @@ -22,6 +23,7 @@
|
| * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
| *
|
| * Red Hat Author(s): Behdad Esfahbod
|
| + * Google Author(s): Behdad Esfahbod
|
| */
|
|
|
| #ifndef HB_H_IN
|
| @@ -38,13 +40,24 @@
|
| HB_BEGIN_DECLS
|
|
|
|
|
| -typedef struct _hb_feature_t {
|
| +typedef struct hb_feature_t {
|
| hb_tag_t tag;
|
| uint32_t value;
|
| unsigned int start;
|
| unsigned int end;
|
| } hb_feature_t;
|
|
|
| +/* len=-1 means str is NUL-terminated */
|
| +hb_bool_t
|
| +hb_feature_from_string (const char *str, int len,
|
| + hb_feature_t *feature);
|
| +
|
| +/* something like 128 bytes is more than enough.
|
| + * nul-terminates. */
|
| +void
|
| +hb_feature_to_string (hb_feature_t *feature,
|
| + char *buf, unsigned int size);
|
| +
|
|
|
| void
|
| hb_shape (hb_font_t *font,
|
|
|