lookupDebugInfo.py 304 B

123456789101112
  1. from typing import NamedTuple
  2. LOOKUP_DEBUG_INFO_KEY = "com.github.fonttools.feaLib"
  3. LOOKUP_DEBUG_ENV_VAR = "FONTTOOLS_LOOKUP_DEBUGGING"
  4. class LookupDebugInfo(NamedTuple):
  5. """Information about where a lookup came from, to be embedded in a font"""
  6. location: str
  7. name: str
  8. feature: list