[HarfBuzz] Beginner question: What are cluster levels?

Jamie Dale jamiedale88+harfbuzz at gmail.com
Mon Jan 4 09:02:57 PST 2016


I'm also curious to know the answer to this. I'm currently using
HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS as I read somewhere that it
produces finer grained cluster data.

I'm currently adding the remaining bits of editable text support that I'd
skipped over before, and part of this is dealing with picking characters
via a cursor hit-test. This is mostly working now, but I still need a way
to handle picking characters that have become ligatures during shaping (eg,
"fi"), as they exist as a single glyph in my shaped data. Would I re-shape
them using different settings? Would the cluster level settings help here?

-Jamie.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20160104/4c0a657a/attachment.html>


More information about the HarfBuzz mailing list