Searched refs:base_encoding (Results 1 – 1 of 1) sorted by relevance
/external/fonttools/Lib/fontTools/encodings/ |
D | codecs.py | 11 def __init__(self, name, base_encoding, mapping): argument 13 self.base_encoding = base_encoding 43 part = codecs.encode(input, self.base_encoding) 48 out += codecs.encode(input[:e.start], self.base_encoding) 56 return codecs.decode(input, self.base_encoding, self.name), len(input) 113 base_encoding, mapping = _extended_encodings[name] 123 base_encodings = [name[:-4], base_encoding] 124 for base_encoding in base_encodings: 126 codecs.lookup(base_encoding) 129 _cache[name] = ExtendCodec(name, base_encoding, mapping)
|