Debian Codegraph @

tests/test1015.py

raw symbols SCIP
1 import sys
2 import fontforge
3
4 font = fontforge.open(sys.argv[1])
5
6 font.addLookup("'calt' Reverse chaining test", "gsub_reversecchain", (),
7 (("calt", (("DFLT", ("DFLT",)), ("latn", ("dflt",)))),))
8
9 font.addContextualSubtable("'calt' Reverse chaining test", "reverse subtable1",
10 "reversecoverage",
11 "| [A B C D] => [a b c d] | [l m n o]")
12 # This test succeeds if things don't crash.
13 font.save("Caliban-reversechain.sfd")