Searched refs:base_encoding (Results 1 – 5 of 5) sorted by relevance
/external/fonttools/Lib/fontTools/encodings/ |
D | codecs.py | 9 def __init__(self, name, base_encoding, mapping): argument 11 self.base_encoding = base_encoding 25 part = mapper(input, self.base_encoding, errors=self.name) 30 out += mapper(input[:e.start], self.base_encoding, self.name) 97 base_encoding, mapping = _extended_encodings[name] 107 base_encodings = [name[:-4], base_encoding] 108 for base_encoding in base_encodings: 110 codecs.lookup(base_encoding) 113 _cache[name] = ExtendCodec(name, base_encoding, mapping)
|
/external/pdfium/core/fpdfapi/font/ |
D | cpdf_truetypefont.cpp | 64 const FontEncoding base_encoding = DetermineEncoding(); in LoadGlyphMap() local 65 if ((IsWinAnsiOrMacRomanEncoding(base_encoding) && m_CharNames.empty()) || in LoadGlyphMap() 76 const char* name = GetAdobeCharName(base_encoding, m_CharNames, charcode); in LoadGlyphMap() 124 if (base_encoding != FontEncoding::kBuiltin) { in LoadGlyphMap() 127 GetAdobeCharName(base_encoding, m_CharNames, charcode); in LoadGlyphMap() 149 const uint16_t* pUnicodes = UnicodesForPredefinedCharSet(base_encoding); in LoadGlyphMap()
|
D | cpdf_cidfont.cpp | 728 FontEncoding base_encoding = FontEncoding::kStandard; in GlyphFromCharCode() local 730 base_encoding = FontEncoding::kWinAnsi; in GlyphFromCharCode() 732 base_encoding = FontEncoding::kMacRoman; in GlyphFromCharCode() 734 GetAdobeCharName(base_encoding, std::vector<ByteString>(), charcode); in GlyphFromCharCode() 743 if (base_encoding == FontEncoding::kStandard) in GlyphFromCharCode() 746 if (base_encoding == FontEncoding::kWinAnsi) { in GlyphFromCharCode() 749 DCHECK_EQ(base_encoding, FontEncoding::kMacRoman); in GlyphFromCharCode()
|
D | cpdf_font.cpp | 355 FontEncoding base_encoding, in GetAdobeCharName() argument 365 if (base_encoding != FontEncoding::kBuiltin) in GetAdobeCharName() 366 name = CharNameFromPredefinedCharSet(base_encoding, charcode); in GetAdobeCharName()
|
D | cpdf_font.h | 158 static const char* GetAdobeCharName(FontEncoding base_encoding,
|