Skip to content

Commit

Permalink
Document logic
Browse files Browse the repository at this point in the history
  • Loading branch information
RickyDaMa committed Nov 25, 2024
1 parent f0798ae commit d1f22f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Lib/ufo2ft/featureWriters/markFeatureWriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,8 @@ def includedInClass(gdefClass: Optional[Set[str]], glyphName: str) -> bool:
if not anchor.isContextual:
continue

# See "after" truth table for what this logic hopes to achieve:
# https://github.com/googlefonts/ufo2ft/pull/890#issuecomment-2498032081
if anchor.number is not None and includedOrNoClass(
ligatureClass, glyphName
):
Expand Down

0 comments on commit d1f22f7

Please sign in to comment.