| Index: third_party/harfbuzz-ng/src/hb-uniscribe.h
|
| diff --git a/third_party/harfbuzz-ng/src/hb.h b/third_party/harfbuzz-ng/src/hb-uniscribe.h
|
| similarity index 67%
|
| copy from third_party/harfbuzz-ng/src/hb.h
|
| copy to third_party/harfbuzz-ng/src/hb-uniscribe.h
|
| index 691adee733d777c890cf03a7133add9dacde771a..dbcacd7f7d6996378c155a00f2b5ac86db0b80a2 100644
|
| --- a/third_party/harfbuzz-ng/src/hb.h
|
| +++ b/third_party/harfbuzz-ng/src/hb-uniscribe.h
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2009 Red Hat, Inc.
|
| + * Copyright © 2011 Google, Inc.
|
| *
|
| * This is part of HarfBuzz, a text shaping library.
|
| *
|
| @@ -21,21 +21,35 @@
|
| * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
|
| * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
| *
|
| - * Red Hat Author(s): Behdad Esfahbod
|
| + * Google Author(s): Behdad Esfahbod
|
| */
|
|
|
| -#ifndef HB_H
|
| -#define HB_H
|
| +#ifndef HB_UNISCRIBE_H
|
| +#define HB_UNISCRIBE_H
|
|
|
| -#include "hb-blob.h"
|
| -#include "hb-buffer.h"
|
| #include "hb-common.h"
|
| -#include "hb-font.h"
|
| -#include "hb-language.h"
|
| #include "hb-shape.h"
|
| -#include "hb-unicode.h"
|
| +
|
| +#define _WIN32_WINNT 0x0500
|
| +#include <windows.h>
|
|
|
| HB_BEGIN_DECLS
|
| +
|
| +
|
| +hb_bool_t
|
| +hb_uniscribe_shape (hb_font_t *font,
|
| + hb_buffer_t *buffer,
|
| + const hb_feature_t *features,
|
| + unsigned int num_features,
|
| + const char * const *shaper_options);
|
| +
|
| +LOGFONTW *
|
| +hb_uniscribe_font_get_logfontw (hb_font_t *font);
|
| +
|
| +HFONT
|
| +hb_uniscribe_font_get_hfont (hb_font_t *font);
|
| +
|
| +
|
| HB_END_DECLS
|
|
|
| -#endif /* HB_H */
|
| +#endif /* HB_UNISCRIBE_H */
|
|
|