diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2018-10-07 18:41:52 +0200 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2018-10-07 18:43:26 +0200 |
commit | 71b65eb27dd0867f51d9906887b9e372eb37f54a (patch) | |
tree | d83cc282b5935e4289ee52457845a417bb72a737 /src/hb-buffer.h | |
parent | 13da3be0b342e8e2f060eba8753c6957c477c4ee (diff) |
Add API for setting invisible-codepoint
Fixes https://github.com/harfbuzz/harfbuzz/issues/1216
New API:
hb_buffer_set_invisible_codepoint()
hb_buffer_get_invisible_codepoint()
hb-shape / hb-view --invisible-codepoint
Diffstat (limited to 'src/hb-buffer.h')
-rw-r--r-- | src/hb-buffer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/hb-buffer.h b/src/hb-buffer.h index 4c746f40..d99ae7d6 100644 --- a/src/hb-buffer.h +++ b/src/hb-buffer.h @@ -341,6 +341,13 @@ hb_buffer_set_replacement_codepoint (hb_buffer_t *buffer, HB_EXTERN hb_codepoint_t hb_buffer_get_replacement_codepoint (hb_buffer_t *buffer); +HB_EXTERN void +hb_buffer_set_invisible_codepoint (hb_buffer_t *buffer, + hb_codepoint_t invisible); + +HB_EXTERN hb_codepoint_t +hb_buffer_get_invisible_codepoint (hb_buffer_t *buffer); + HB_EXTERN void hb_buffer_reset (hb_buffer_t *buffer); |