[HarfBuzz] Detecting mandatory ligatures

Behdad Esfahbod behdad at behdad.org
Mon Apr 4 19:36:38 UTC 2016

On Tue, Mar 22, 2016 at 3:52 PM, Jamie Dale <jamiedale88+harfbuzz at gmail.com>

> My current code that performs picking on text, or applies formatting to
> text that spans a ligature, assumes that any ligature can be split into its
> component grapheme clusters, however this assumption does not hold true for
> that ligature as it cannot be split.

That assumption does not hold true for most ligatures.  Say, "fi" ligature.

> Does HarfBuzz have a way to identify these mandatory ligatures, or failing
> that, how do people generally deal with this sort of thing? I have ICU
> available if it has anything that can help?

Check out libraqm for example.

> Thanks,
> Jamie.
> _______________________________________________
> 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/20160404/9c27ee45/attachment.html>

More information about the HarfBuzz mailing list