File: lookupDebugInfo.py

package info (click to toggle)
fonttools 4.62.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 27,652 kB
  • sloc: python: 145,583; xml: 103; makefile: 24
file content (12 lines) | stat: -rw-r--r-- 304 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
from typing import NamedTuple

LOOKUP_DEBUG_INFO_KEY = "com.github.fonttools.feaLib"
LOOKUP_DEBUG_ENV_VAR = "FONTTOOLS_LOOKUP_DEBUGGING"


class LookupDebugInfo(NamedTuple):
    """Information about where a lookup came from, to be embedded in a font"""

    location: str
    name: str
    feature: list