提交 3e32cd95 编写于 作者: B Behdad Esfahbod

Minor

上级 650ac00d
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include "hb-buffer-private.hh" #include "hb-buffer-private.hh"
#include "hb-ot-layout-gdef-table.hh" #include "hb-ot-layout-gdef-table.hh"
#include "hb-ot-layout-closure.h"
......
...@@ -471,9 +471,9 @@ hb_ot_layout_substitute_finish (hb_buffer_t *buffer HB_UNUSED) ...@@ -471,9 +471,9 @@ hb_ot_layout_substitute_finish (hb_buffer_t *buffer HB_UNUSED)
} }
hb_bool_t hb_bool_t
hb_ot_layout_closure_lookup (hb_face_t *face, hb_ot_layout_substitute_closure_lookup (hb_face_t *face,
hb_glyph_map_t *glyphs, hb_glyph_map_t *glyphs,
unsigned int lookup_index) unsigned int lookup_index)
{ {
hb_closure_context_t c (face, glyphs); hb_closure_context_t c (face, glyphs);
return _get_gsub (face).closure_lookup (&c, lookup_index); return _get_gsub (face).closure_lookup (&c, lookup_index);
......
...@@ -182,6 +182,14 @@ hb_ot_layout_substitute_lookup (hb_face_t *face, ...@@ -182,6 +182,14 @@ hb_ot_layout_substitute_lookup (hb_face_t *face,
void void
hb_ot_layout_substitute_finish (hb_buffer_t *buffer); hb_ot_layout_substitute_finish (hb_buffer_t *buffer);
typedef uint32_t hb_glyph_map_t[65536 / 32]; /* 8kb */
hb_bool_t
hb_ot_layout_substitute_closure_lookup (hb_face_t *face,
hb_glyph_map_t *glyphs,
unsigned int lookup_index);
/* /*
* GPOS * GPOS
*/ */
......
...@@ -34,9 +34,11 @@ ...@@ -34,9 +34,11 @@
#endif #endif
#include "hb.h" #include "hb.h"
#include "hb-ot.h"
#define HB_H_IN #define HB_H_IN
#ifdef HAVE_OT
#include "hb-ot.h"
#define HB_OT_H_IN #define HB_OT_H_IN
#endif
#include <stdlib.h> #include <stdlib.h>
#include <stddef.h> #include <stddef.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册