The
font for this test case
has a
contextual alternates feature in its GSUB table that
substitutes
a by
a.alt if followed by a
space. Some versions of Adobe InDesign had a bug where space was
treated like an empty substitution context. If your implementation
is correct, you should see two different glyphs in the rendering:
the first letter should have an overbar, the second letter should
not.