diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2010-10-27 16:51:02 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2010-11-02 19:12:58 -0400 |
commit | fe263272a2b26204bc39829a94d90ab537517f3f (patch) | |
tree | 9f855bfb0ff7c950616c9083e98a48a2b7fcc18a /src/hb-buffer-private.hh | |
parent | 2e2b2480c01c788ea702d78ca830c2bb659654a8 (diff) |
Move setting lig_id/component out of buffer and to the gsub code
Diffstat (limited to 'src/hb-buffer-private.hh')
-rw-r--r-- | src/hb-buffer-private.hh | 30 |
1 files changed, 9 insertions, 21 deletions
diff --git a/src/hb-buffer-private.hh b/src/hb-buffer-private.hh index b5ba57d8..97da6103 100644 --- a/src/hb-buffer-private.hh +++ b/src/hb-buffer-private.hh @@ -62,23 +62,17 @@ HB_INTERNAL void _hb_buffer_add_output_glyphs (hb_buffer_t *buffer, unsigned int num_in, unsigned int num_out, - const hb_codepoint_t *glyph_data, - unsigned short component, - unsigned short ligID); + const hb_codepoint_t *glyph_data); HB_INTERNAL void _hb_buffer_add_output_glyphs_be16 (hb_buffer_t *buffer, unsigned int num_in, unsigned int num_out, - const uint16_t *glyph_data_be, - unsigned short component, - unsigned short ligID); + const uint16_t *glyph_data_be); HB_INTERNAL void _hb_buffer_add_output_glyph (hb_buffer_t *buffer, - hb_codepoint_t glyph_index, - unsigned short component, - unsigned short ligID); + hb_codepoint_t glyph_index); HB_INTERNAL void _hb_buffer_next_glyph (hb_buffer_t *buffer); @@ -136,20 +130,14 @@ struct _hb_buffer_t { inline void next_glyph (void) { _hb_buffer_next_glyph (this); } inline void add_output_glyphs (unsigned int num_in, unsigned int num_out, - const hb_codepoint_t *glyph_data, - unsigned short component, - unsigned short ligID) - { _hb_buffer_add_output_glyphs (this, num_in, num_out, glyph_data, component, ligID); } + const hb_codepoint_t *glyph_data) + { _hb_buffer_add_output_glyphs (this, num_in, num_out, glyph_data); } inline void add_output_glyphs_be16 (unsigned int num_in, unsigned int num_out, - const uint16_t *glyph_data_be, - unsigned short component, - unsigned short ligID) - { _hb_buffer_add_output_glyphs_be16 (this, num_in, num_out, glyph_data_be, component, ligID); } - inline void add_output_glyph (hb_codepoint_t glyph_index, - unsigned short component = 0xFFFF, - unsigned short ligID = 0xFFFF) - { _hb_buffer_add_output_glyph (this, glyph_index, component, ligID); } + const uint16_t *glyph_data_be) + { _hb_buffer_add_output_glyphs_be16 (this, num_in, num_out, glyph_data_be); } + inline void add_output_glyph (hb_codepoint_t glyph_index) + { _hb_buffer_add_output_glyph (this, glyph_index); } inline void replace_glyph (hb_codepoint_t glyph_index) { add_output_glyph (glyph_index); } inline void reset_masks (hb_mask_t mask) |