<p dir="ltr">On Jul 1, 2016 11:37 AM, "Kelvin Ma" <<a href="mailto:kelvinsthirteen@gmail.com">kelvinsthirteen@gmail.com</a>> wrote:<br>
><br>
> Is there a way to remove all the codepoints from a buffer object while leaving the direction, script, and language intact?</p>
<p dir="ltr">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... </p>
<p dir="ltr">> buffer_clear_contents() clears that data too.<br>
><br>
> _______________________________________________<br>
> HarfBuzz mailing list<br>
> <a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/harfbuzz">https://lists.freedesktop.org/mailman/listinfo/harfbuzz</a><br>
><br>
</p>