encodingTools
fontTools.misc.encodingTools.py – tools for working with OpenType encodings.
- fontTools.misc.encodingTools.getEncoding(platformID, platEncID, langID, default=None)[source]
Returns the Python encoding name for OpenType platformID/encodingID/langID triplet. If encoding for these values is not known, by default None is returned. That can be overriden by passing a value to the default argument.