Lines Matching refs:cmap
71 cmap_table_ = down_cast<CMapTable*>(font->GetTable(Tag::cmap));
73 fprintf(stderr, "No CMap: %s\n", font_name.c_str());
83 // A font can only have one CMap table
85 TiXmlNodeVector* cmaps = GetNodesWithName(cmap_table->at(0), "cmap");
89 // But there may be more than one CMap in this table
95 Ptr<CMapTable::CMap> cmap;
96 cmap.Attach(cmap_table_->GetCMap(platform_id, encoding_id));
97 if (!cmap) {
102 ASSERT_EQ(cmap->platform_id(), platform_id);
103 ASSERT_EQ(cmap->encoding_id(), encoding_id);
114 ASSERT_EQ(cmap->GlyphId(character), glyph_id);