-
Notifications
You must be signed in to change notification settings - Fork 682
Closed
Labels
USEUniversal Shaping EngineUniversal Shaping Engine
Description
In hb-ot-layout-gsubgpos-private.hh there is this line:
/* Ignore ZWJ if we are matching GSUB context, or matching GPOS, or if asked to. */
matcher.set_ignore_zwj (c->table_index == 1 || (context_match || c->auto_zwj));
The commit message for a8cf7b4 explains the reasoning for this, but I believe this shouldn't be the case for USE shaping. I'm not entirely clear on the reasoning to ignore ZWJ only in backtrack and lookahead, but since USE shaping allows ZWJ anywhere (well, hb only has it in a few places so far: #542) I think we shouldn't be ignoring it.
@behdad WDYT?
Metadata
Metadata
Assignees
Labels
USEUniversal Shaping EngineUniversal Shaping Engine