encodings

Empty __init__.py file to signal Python this directory is a package.

codecs

Extend the Python codecs module with a few encodings that are used in OpenType (name table) but missing from Python. See https://github.com/behdad/fonttools/issues/236 for details.

class fontTools.encodings.codecs.ExtendCodec(name, base_encoding, mapping)[source]
decode(input, errors='strict')[source]
encode(input, errors='strict')[source]
error(e)[source]
fontTools.encodings.codecs.search_function(name)[source]