[HarfBuzz] unsafe to break

Ebrahim Byagowi ebraminio at gmail.com
Sun Nov 26 14:14:43 UTC 2017


I wonder if the same mechanism (flagging ranges if I am correct) can be
used for Uyghur hyphenation
<https://drafts.csswg.org/css-text-3/#example-953e914f> or suggesting
places for Arabic justification Kashidas?

On Tue, Nov 14, 2017 at 2:36 AM, Behdad Esfahbod <behdad at behdad.org> wrote:

> 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/
>
> _______________________________________________
> HarfBuzz mailing list
> HarfBuzz at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/harfbuzz
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/harfbuzz/attachments/20171126/9422a439/attachment.html>


More information about the HarfBuzz mailing list