• B
    [buffer] Save pre/post textual context · 05207a79
    Behdad Esfahbod 提交于
    To be used for a variety of purposes.  We save up to five characters
    in each direction.  No public API changes, everything is taken care
    of already.  All clients need to do is to call hb_buffer_add_utf* with
    the full text + segment info (or at least some context) instead of
    just passing in the segment.
    
    Various operations (hb_buffer_reset, hb_buffer_set_length,
    hb_buffer_add*) automatically reset the relevant contexts.
    05207a79
hb-buffer.cc 21.9 KB