that’s what I’m doing right now, i was just wondering if there was a
shortcut because I often have to do this when reshaping part of a run so I
figure it might be good to have it as an api function

On Fri, Jul 1, 2016 at 2:45 PM, Behdad Esfahbod <[email protected]>
wrote:

> On Jul 1, 2016 11:37 AM, "Kelvin Ma" <[email protected]> wrote:
> >
> > Is there a way to remove all the codepoints from a buffer object while
> leaving the direction, script, and language intact?
>
> No.  Those properties depend on buffer text, si it doesn't make sense to
> clear text but not those.  It's two lines to capture them and set them
> back.  HarfBuzz is a library, it provides building blocks that enable what
> people need to do, not every imaginable combination of lines of code
> someone might need...
>
> > buffer_clear_contents() clears that data too.
> >
> > _______________________________________________
> > HarfBuzz mailing list
> > [email protected]
> > https://lists.freedesktop.org/mailman/listinfo/harfbuzz
> >
>
_______________________________________________
HarfBuzz mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to