Searched refs:CMapTable (Results 1 – 11 of 11) sorted by relevance
/external/sfntly/cpp/src/sfntly/table/core/ |
D | cmap_table.cc | 36 const int32_t CMapTable::NOTDEF = 0; 38 CMapTable::CMapId CMapTable::WINDOWS_BMP = { 42 CMapTable::CMapId CMapTable::WINDOWS_UCS4 = { 46 CMapTable::CMapId CMapTable::MAC_ROMAN = { 54 CMapTable::CMapTable(Header* header, ReadableFontData* data) in CMapTable() function in sfntly::CMapTable 58 CMapTable::~CMapTable() {} in ~CMapTable() 60 CALLER_ATTACH CMapTable::CMap* CMapTable::GetCMap(const int32_t index) { in GetCMap() 81 return down_cast<CMapTable::CMap*>(cmap_builder->Build()); in GetCMap() 84 CALLER_ATTACH CMapTable::CMap* CMapTable::GetCMap(const int32_t platform_id, in GetCMap() 89 CALLER_ATTACH CMapTable::CMap* [all …]
|
D | cmap_table.h | 49 class CMapTable : public SubTableContainerTable, public RefCounted<CMapTable> { 159 friend class CMapTable::Builder; 541 CMapIterator(CMapTable* table, const CMapFilter* filter); 548 CMapTable* table_; 581 virtual ~CMapTable(); 698 CMapTable(Header* header, ReadableFontData* data); 704 typedef std::vector<CMapTable::CMapId> CMapIdList; 705 typedef Ptr<CMapTable> CMapTablePtr; 706 typedef std::vector<Ptr<CMapTable::CMapFormat4::Builder::Segment> > SegmentList;
|
/external/sfntly/cpp/src/test/ |
D | cmap_editing_test.cc | 42 Ptr<CMapTable::Builder> cmap_table_builder = in TEST() 43 (CMapTable::Builder*)font_builder->GetTableBuilder(Tag::cmap); in TEST() 44 ASSERT_NE(cmap_table_builder, reinterpret_cast<CMapTable::Builder*>(NULL)); in TEST() 45 CMapTable::CMapBuilderMap* in TEST() 49 for (CMapTable::CMapBuilderMap::iterator in TEST() 51 if (it->second->cmap_id() == CMapTable::WINDOWS_BMP) { in TEST() 59 CMapTablePtr cmap_table = down_cast<CMapTable*>(font->GetTable(Tag::cmap)); in TEST() 61 CMapTable::CMapPtr cmap; in TEST() 62 cmap.Attach(cmap_table->GetCMap(CMapTable::WINDOWS_BMP)); in TEST() 63 ASSERT_EQ(CMapTable::WINDOWS_BMP, cmap->cmap_id()); in TEST() [all …]
|
D | cmap_iterator_test.cc | 68 int32_t CompareCMapIterAndBitSet(CMapTable::CMap::CharacterIterator* 72 Ptr<CMapTable::CMap> cmap_; 82 Ptr<CMapTable> cmap_table = down_cast<CMapTable*>(font->GetTable(Tag::cmap)); in SetUp() 93 if (g != CMapTable::NOTDEF) in GenerateCMapEntries() 101 CompareCMapIterAndBitSet(CMapTable::CMap::CharacterIterator* character_iterator, in CompareCMapIterAndBitSet() 132 CMapTable::CMap::CharacterIterator* character_iterator = NULL; in TEST_P() 135 reinterpret_cast<CMapTable::CMap::CharacterIterator*>(NULL)); in TEST_P() 142 CMapIteratorTestCase(CMapTable::WINDOWS_BMP.platform_id, 143 CMapTable::WINDOWS_BMP.encoding_id,
|
D | cmap_test.cc | 97 Ptr<CMapTable::CMap> cmap1_; 98 Ptr<CMapTable::CMap> cmap2_; 123 Ptr<CMapTable> cmap_table = in CommonSetUp() 124 down_cast<CMapTable*>(font->GetTable(Tag::cmap)); in CommonSetUp() 127 ASSERT_NE((cmap1_), reinterpret_cast<CMapTable::CMap*>(NULL)); in CommonSetUp() 130 ASSERT_NE((cmap2_), reinterpret_cast<CMapTable::CMap*>(NULL)); in CommonSetUp()
|
/external/sfntly/cpp/src/sample/subtly/ |
D | font_assembler.cc | 77 Ptr<CMapTable::Builder> cmap_table_builder = in AssembleCMapTable() 78 down_cast<CMapTable::Builder*> in AssembleCMapTable() 82 Ptr<CMapTable::CMapFormat4::Builder> cmap_builder = in AssembleCMapTable() 83 down_cast<CMapTable::CMapFormat4::Builder*> in AssembleCMapTable() 85 CMapTable::WINDOWS_BMP)); in AssembleCMapTable() 94 Ptr<CMapTable::CMapFormat4::Builder::Segment> current_segment; in AssembleCMapTable() 115 new CMapTable::CMapFormat4::Builder:: in AssembleCMapTable() 127 Ptr<CMapTable::CMapFormat4::Builder::Segment> segment = segment_list->at(i); in AssembleCMapTable() 133 new CMapTable::CMapFormat4::Builder::Segment(0xffff, 0xffff, 1, 0); in AssembleCMapTable()
|
D | font_info.cc | 129 Ptr<CMapTable> cmap_table = down_cast<CMapTable*>(font_->GetTable(Tag::cmap)); in Initialize() 131 cmap_.Attach(cmap_table->GetCMap(CMapTable::WINDOWS_BMP)); in Initialize() 176 CMapTable::CMap::CharacterIterator* character_iterator = cmap_->Iterator(); in GetCharacterMap()
|
D | font_info.h | 123 sfntly::Ptr<sfntly::CMapTable::CMap> cmap_;
|
/external/sfntly/doc/ |
D | SfntlyCPlusPlusNotes.md | 17 `CMapTable` 23 The CMapTable is a table of CMaps (CMaps are also tables; one for every 72 `CMapTable` is the main class and the container for all other CMap 77 - `CMapTable::CMapId` describes a pair of IDs, platform ID and 81 - `CMapTable::CMapIdComparator` 82 - `CMapTable::CMapIterator` iteration through the CMapTable is 84 - `CMapTable::CMapFilter` Java-style filter; CMapIterator supports 86 - `CMapTable::CMapIdFilter` extends CMapFilter; only accepts one type 89 - **`CMapTable::Builder`** is the only way to create a CMapTable. 93 - **`CMapTable::CMap`** is the abstract base class that all [all …]
|
/external/sfntly/cpp/src/test/autogenerated/ |
D | cmap_basic_test.cc | 53 Ptr<CMapTable> cmap_table_; 71 cmap_table_ = down_cast<CMapTable*>(font->GetTable(Tag::cmap)); in SetUp() 74 ASSERT_NE(cmap_table_, reinterpret_cast<CMapTable*>(NULL)); in SetUp() 95 Ptr<CMapTable::CMap> cmap; in TEST_P()
|
/external/sfntly/cpp/src/sfntly/table/ |
D | table.cc | 90 CMapTable::Builder::CreateBuilder(header, table_data)); in GetBuilder()
|