diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2011-04-15 18:59:56 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2011-04-15 19:08:43 -0400 |
commit | 8f0d7e0c3fd4b05c43ac449be4f374dc2dc56127 (patch) | |
tree | b475f3425888b65120e9d841c6f5c889246f9bba /src/hb-buffer-private.hh | |
parent | 2fc56edff6d64f190271454ccb1b5fd347d4f172 (diff) |
Remove hb_buffer_clear_positions(), add hb_ot_layout_position_start()
Diffstat (limited to 'src/hb-buffer-private.hh')
-rw-r--r-- | src/hb-buffer-private.hh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/hb-buffer-private.hh b/src/hb-buffer-private.hh index d8834c55..4b1ff12e 100644 --- a/src/hb-buffer-private.hh +++ b/src/hb-buffer-private.hh @@ -2,7 +2,7 @@ * Copyright (C) 1998-2004 David Turner and Werner Lemberg * Copyright (C) 2004,2007,2009,2010 Red Hat, Inc. * - * This is part of HarfBuzz, a text shaping library. + * This is part of HarfBuzz, a text shaping library. * * Permission is hereby granted, without written agreement and without * license or royalty fees, to use, copy, modify, and distribute this @@ -52,6 +52,9 @@ HB_INTERNAL void _hb_buffer_clear_output (hb_buffer_t *buffer); HB_INTERNAL void +_hb_buffer_clear_positions (hb_buffer_t *buffer); + +HB_INTERNAL void _hb_buffer_replace_glyphs_be16 (hb_buffer_t *buffer, unsigned int num_in, unsigned int num_out, @@ -116,6 +119,7 @@ struct _hb_buffer_t { inline unsigned int next_serial (void) { return serial++; } inline void swap (void) { _hb_buffer_swap (this); } inline void clear_output (void) { _hb_buffer_clear_output (this); } + inline void clear_positions (void) { _hb_buffer_clear_positions (this); } inline void next_glyph (void) { _hb_buffer_next_glyph (this); } inline void replace_glyphs_be16 (unsigned int num_in, unsigned int num_out, |