simoncozens / opentypespec-py

Data derived from the OpenType specification
Other
6 stars 1 forks source link

opentypespec

PyPi Status

This package currently provides the opentypespec.tags module, which exports FEATURE_TAGS, SCRIPT_TAGS, LANGUAGE_TAGS and BASELINE_TAGS dictionaries, representing data from the Layout Tag Registry (section 6.4 of the Open Font Format specification):

        >>> from opentypespec.tags import SCRIPT_TAGS, LANGUAGE_TAGS
        >>> SCRIPT_TAGS["adlm"]
        {'name': 'Adlam'}
        >>> LANGUAGE_TAGS["ECR "]
        {'name': 'Eastern Cree', 'iso639': ['crj', 'crl']}

History

1.8.4 (2021-06-28)