> As I was testing my attempt at supporting GSUB lookups, I found that > hb_ot_layout_lookup_collect_glyphs, is actually not what I need, > because I assumed that each lookup contains exactly one > substitution, when it actually may contain multiple. What I really > need is a way to get each individual substitution. How do I do > this?
It's not completely clear to me what you exactly need, please give an example. Behdad, any idea whether HarfBuzz can help here? Otherwise it is probably necessary to parse the GSUB table by ourselves, which is something I would like to avoid... Werner