Searched refs:CmapParser (Results 1 – 7 of 7) sorted by relevance
45 bool ParseCmap(const std::shared_ptr<CmapParser> &parser);50 std::shared_ptr<CmapParser> cmapParser_ = nullptr;53 static inline std::map<std::string, std::shared_ptr<CmapParser>> cmapCache_;
57 bool Typeface::ParseCmap(const std::shared_ptr<CmapParser> &parser) in ParseCmap()103 auto parser = std::make_shared<CmapParser>(); in Has()113 return cmapParser_->GetGlyphId(ch) != CmapParser::INVALID_GLYPH_ID; in Has()
106 int CmapParser::Parse(const char *data, int32_t size) in Parse()138 int32_t CmapParser::GetGlyphId(int32_t codepoint) const in GetGlyphId()143 void CmapParser::Dump() const in Dump()148 int CmapParser::ParseFormat4(const CmapSubtable &subtable, const std::size_t size) in ParseFormat4()187 void CmapParser::ParseFormat4NoOffset(int32_t delta, uint32_t start, uint32_t end) in ParseFormat4NoOffset()200 int CmapParser::ParseFormat12(const CmapSubtable &subtable, const std::size_t size) in ParseFormat12()
28 class CmapParser {50 friend void ReportMemoryUsage(const std::string &member, const CmapParser &that, bool needThis);
88 int CmapParser::Parse(const char* data, int32_t size) in Parse()93 int32_t CmapParser::GetGlyphId(int32_t codepoint) const in GetGlyphId()
76 class CmapParser; variable95 DECLARE_RMU(CmapParser);
279 DECLARE_RMU(CmapParser) in DECLARE_RMU() argument