|Summary:||Nice to have an API to retrieve ligature related information.|
|Product:||HarfBuzz||Reporter:||Hak Matsuda <hakuro>|
|Component:||src||Assignee:||Behdad Esfahbod <freedesktop>|
|Status:||NEEDINFO ---||QA Contact:|
|i915 platform:||i915 features:|
Description Hak Matsuda 2015-06-13 01:38:16 UTC
AFAIK, there is no API to retrieve a ligature information (if a glyph is a ligature). hb_ot_layout_get_ligature_carets() only works when a OT font supports the information. If there is an API that can retrieve, - If the glyph is a ligature, - How many caret positions it may have, that would be handy. For now, those need to be retrieved with a conjunction of other line breaking components.
Comment 1 Behdad Esfahbod 2015-06-16 06:45:19 UTC
Hi Hak, What do you exactly need to do? Some of that information is returned as part of shaping result in the cluster field. hb_ot_layout_get_glyph_class() is also close. But as you noted, again, this depends on what the font developer decided to set for glyph class and has no meaning outside the font.