Skip to content

Commit

Permalink
A failing test for #3247
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Aug 7, 2023
1 parent a8d5d45 commit 4e8fe66
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Tests/varLib/merger_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1902,32 +1902,38 @@ def test_sparse_cursive(self):

ds.sources[0].font.newGlyph("a").unicode = ord("a")
ds.sources[0].font.newGlyph("b").unicode = ord("b")
ds.sources[0].font.newGlyph("c").unicode = ord("c")
ds.sources[
0
].font.features.text = """
feature curs {
position cursive a <anchor 400 20> <anchor 0 -20>;
position cursive c <anchor NULL> <anchor 0 -20>;
} curs;
"""

ds.sources[1].font.newGlyph("a").unicode = ord("a")
ds.sources[1].font.newGlyph("b").unicode = ord("b")
ds.sources[1].font.newGlyph("c").unicode = ord("c")
ds.sources[
1
].font.features.text = """
feature curs {
position cursive a <anchor 500 20> <anchor 0 -20>;
position cursive b <anchor 50 22> <anchor 0 -10>;
position cursive c <anchor NULL> <anchor 0 -20>;
} curs;
"""

ds.sources[2].font.newGlyph("a").unicode = ord("a")
ds.sources[2].font.newGlyph("b").unicode = ord("b")
ds.sources[2].font.newGlyph("c").unicode = ord("c")
ds.sources[
2
].font.features.text = """
feature curs {
position cursive b <anchor 100 40> <anchor 0 -30>;
position cursive c <anchor NULL> <anchor 0 -20>;
} curs;
"""

Expand Down

0 comments on commit 4e8fe66

Please sign in to comment.