diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2011-08-19 20:14:33 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2011-11-01 15:42:45 +0200 |
commit | fa647d19c1db22b308e5c118d2adcc792bd591ac (patch) | |
tree | 26803b16d4da5fbad469594e51c8702edd5c2645 /pango/opentype/hb-buffer-private.h | |
parent | 18dc8d4059c6c21f62caa75d0e0ff7d3d14d8649 (diff) | |
download | pango-fa647d19c1db22b308e5c118d2adcc792bd591ac.tar.gz |
Fix ChanContext backtrack matching with GPOSpango-1-29-4
Backported from HarfBuzz-ng:
http://cgit.freedesktop.org/harfbuzz/commit/?id=cc1a8a938b4c13e76b58825a9e1951c4134e634a
Diffstat (limited to 'pango/opentype/hb-buffer-private.h')
-rw-r--r-- | pango/opentype/hb-buffer-private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/opentype/hb-buffer-private.h b/pango/opentype/hb-buffer-private.h index f1947860..58185e7e 100644 --- a/pango/opentype/hb-buffer-private.h +++ b/pango/opentype/hb-buffer-private.h @@ -130,6 +130,7 @@ _hb_buffer_allocate_lig_id (hb_buffer_t *buffer); #define CURPOSITION() (&buffer->positions[buffer->in_pos]) #define OUT_GLYPH(pos) (buffer->out_string[(pos)].codepoint) #define OUT_INFO(pos) (&buffer->out_string[(pos)]) +#define BACKTRACK_LEN() ((buffer->have_output? buffer->out_length : buffer->in_pos)) HB_END_DECLS |