| Index: third_party/harfbuzz-ng/src/hb-font-private.hh
|
| diff --git a/third_party/harfbuzz-ng/src/hb-font-private.hh b/third_party/harfbuzz-ng/src/hb-font-private.hh
|
| index aa6c515bcb2fd92bc2ce8ac36c8d5b5cd27b5eb3..33bbf7143a2ff84949e603b235739cf7e4eb974e 100644
|
| --- a/third_party/harfbuzz-ng/src/hb-font-private.hh
|
| +++ b/third_party/harfbuzz-ng/src/hb-font-private.hh
|
| @@ -31,7 +31,6 @@
|
|
|
| #include "hb-private.hh"
|
|
|
| -#include "hb-font.h"
|
| #include "hb-object-private.hh"
|
| #include "hb-face-private.hh"
|
| #include "hb-shaper-private.hh"
|
| @@ -145,6 +144,12 @@ struct hb_font_t {
|
|
|
| /* Public getters */
|
|
|
| + inline hb_bool_t has_glyph (hb_codepoint_t unicode)
|
| + {
|
| + hb_codepoint_t glyph;
|
| + return get_glyph (unicode, 0, &glyph);
|
| + }
|
| +
|
| inline hb_bool_t get_glyph (hb_codepoint_t unicode, hb_codepoint_t variation_selector,
|
| hb_codepoint_t *glyph)
|
| {
|
|
|