Debian Codegraph @

Lib/fontFeatures/ttLib/Chaining.py

raw
1 """ttLib.Chaining: Converting Chaining rules to TrueType."""
2
3
4 def lookup_type(self):
5 """Mixin to determine the GSUB/GPOS lookup type of a fontFeatures.Chaining object
6
7 Returns: integer GSUB/GPOS lookup type."""
8 if self.stage == "pos":
9 return 8
10 else:
11 return 6