[HarfBuzz] unsafe to break
Behdad Esfahbod
behdad at behdad.org
Mon Nov 13 23:06:17 UTC 2017
Right. What Khaled said.
On Sat, Nov 11, 2017 at 12:25 PM, Khaled Hosny <khaledhosny at eglug.org>
wrote:
> On Sat, Nov 11, 2017 at 08:39:09AM +0700, Martin Hosken wrote:
> > Dear Behdad,
> >
> > Please could you explain the purpose and function of
> > HB_GLYPH_FLAG_UNSAFE_TO_BREAK. Is this about line breaking? grapheme
> > clustering?
>
> It is about shaping after line breaking. IIUC, unsafe to break means you
> must
> reshape if you break here (up to the next/previous safe to break point),
> but actual break points have to be identified by the client as usual.
>
> IMHO, that is an optimization for the clients that want to do the right
> thing after breaking but don’t want to re-shape text needlessly.
>
> Regards,
> Khaled
> _______________________________________________
> HarfBuzz mailing list
> HarfBuzz at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/harfbuzz
>
--
behdad
http://behdad.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/harfbuzz/attachments/20171113/7e90be53/attachment.html>
More information about the HarfBuzz
mailing list