/external/freetype/src/psaux/ |
t1cmap.c | 35 t1_cmap_std_init( T1_CMapStd cmap, 38 T1_Face face = (T1_Face)FT_CMAP_FACE( cmap ); 42 cmap->num_glyphs = (FT_UInt)face->type1.num_glyphs; 43 cmap->glyph_names = (const char* const*)face->type1.glyph_names; 44 cmap->sid_to_string = psnames->adobe_std_strings; 45 cmap->code_to_sid = is_expert ? psnames->adobe_expert_encoding 48 FT_ASSERT( cmap->code_to_sid != NULL ); 53 t1_cmap_std_done( T1_CMapStd cmap ) 55 cmap->num_glyphs = 0; 56 cmap->glyph_names = NULL [all...] |
t1cmap.h | 42 FT_CMapRec cmap; member in struct:T1_CMapStdRec_ 63 /***** TYPE1 CUSTOM ENCODING CMAP *****/ 72 FT_CMapRec cmap; member in struct:T1_CMapCustomRec_ 87 /***** TYPE1 SYNTHETIC UNICODE ENCODING CMAP *****/
|
/external/pdfium/third_party/freetype/src/psaux/ |
t1cmap.c | 35 t1_cmap_std_init( T1_CMapStd cmap, 38 T1_Face face = (T1_Face)FT_CMAP_FACE( cmap ); 42 cmap->num_glyphs = face->type1.num_glyphs; 43 cmap->glyph_names = (const char* const*)face->type1.glyph_names; 44 cmap->sid_to_string = psnames->adobe_std_strings; 45 cmap->code_to_sid = is_expert ? psnames->adobe_expert_encoding 48 FT_ASSERT( cmap->code_to_sid != NULL ); 53 t1_cmap_std_done( T1_CMapStd cmap ) 55 cmap->num_glyphs = 0; 56 cmap->glyph_names = NULL [all...] |
t1cmap.h | 42 FT_CMapRec cmap; member in struct:T1_CMapStdRec_ 63 /***** TYPE1 CUSTOM ENCODING CMAP *****/ 72 FT_CMapRec cmap; member in struct:T1_CMapCustomRec_ 87 /***** TYPE1 SYNTHETIC UNICODE ENCODING CMAP *****/
|
/external/sfntly/cpp/src/test/ |
cmap_editing_test.cc | 43 (CMapTable::Builder*)font_builder->GetTableBuilder(Tag::cmap); 59 CMapTablePtr cmap_table = down_cast<CMapTable*>(font->GetTable(Tag::cmap)); 61 CMapTable::CMapPtr cmap; local 62 cmap.Attach(cmap_table->GetCMap(CMapTable::WINDOWS_BMP)); 63 ASSERT_EQ(CMapTable::WINDOWS_BMP, cmap->cmap_id()); 76 CMapTablePtr cmap_table = down_cast<CMapTable*>(font->GetTable(Tag::cmap)); 80 (CMapTable::Builder*)font_builder->NewTableBuilder(Tag::cmap); 84 CMapTable::CMapPtr cmap; local 85 cmap.Attach(cmap_iter.Next()); 86 if (!cmap) 96 CMapTable::CMapPtr cmap; local [all...] |
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)); 101 CompareCMapIterAndBitSet(CMapTable::CMap::CharacterIterator* character_iterator, 132 CMapTable::CMap::CharacterIterator* character_iterator = NULL; 135 reinterpret_cast<CMapTable::CMap::CharacterIterator*>(NULL));
|
/external/icu/icu4c/source/samples/layout/ |
cmaps.h | 27 static CMAPMapper *createUnicodeMapper(const CMAPTable *cmap); 30 CMAPMapper(const CMAPTable *cmap); 41 CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header); 62 CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups); 77 inline CMAPMapper::CMAPMapper(const CMAPTable *cmap) 78 : fcmap(cmap)
|
cmaps.cpp | 59 CMAPMapper *CMAPMapper::createUnicodeMapper(const CMAPTable *cmap) 62 le_uint16 nSubtables = SWAPW(cmap->numberSubtables); 67 const CMAPEncodingSubtableHeader *esh = &cmap->encodingSubtableHeaders[i]; 85 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + offset10); 87 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + offset1); 94 return new CMAPFormat4Mapper(cmap, (const CMAPFormat4Encoding *) subtable); 100 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups)); 110 CMAPFormat4Mapper::CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header) 111 : CMAPMapper(cmap) 170 CMAPGroupMapper::CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups [all...] |
/external/icu/icu4c/source/test/letest/ |
cmaps.h | 23 static CMAPMapper *createUnicodeMapper(const CMAPTable *cmap); 26 CMAPMapper(const CMAPTable *cmap); 37 CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header); 58 CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups); 73 inline CMAPMapper::CMAPMapper(const CMAPTable *cmap) 74 : fcmap(cmap)
|
cmaps.cpp | 54 CMAPMapper *CMAPMapper::createUnicodeMapper(const CMAPTable *cmap) 57 le_uint16 nSubtables = SWAPW(cmap->numberSubtables); 66 const CMAPEncodingSubtableHeader *esh = &cmap->encodingSubtableHeaders[i]; 92 const CMAPEncodingSubtableHeader *esh = &cmap->encodingSubtableHeaders[i]; 122 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + foundOffset); 137 return new CMAPFormat4Mapper(cmap, (const CMAPFormat4Encoding *) subtable); 143 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups)); 154 CMAPFormat4Mapper::CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header) 155 : CMAPMapper(cmap) 214 CMAPGroupMapper::CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups [all...] |
/external/icu/icu4c/source/test/perf/leperf/ |
cmaps.h | 23 static CMAPMapper *createUnicodeMapper(const CMAPTable *cmap); 26 CMAPMapper(const CMAPTable *cmap); 37 CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header); 58 CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups); 73 inline CMAPMapper::CMAPMapper(const CMAPTable *cmap) 74 : fcmap(cmap)
|
cmaps.cpp | 54 CMAPMapper *CMAPMapper::createUnicodeMapper(const CMAPTable *cmap) 57 le_uint16 nSubtables = SWAPW(cmap->numberSubtables); 66 const CMAPEncodingSubtableHeader *esh = &cmap->encodingSubtableHeaders[i]; 92 const CMAPEncodingSubtableHeader *esh = &cmap->encodingSubtableHeaders[i]; 122 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + foundOffset); 134 return new CMAPFormat4Mapper(cmap, (const CMAPFormat4Encoding *) subtable); 140 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups)); 151 CMAPFormat4Mapper::CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header) 152 : CMAPMapper(cmap) 211 CMAPGroupMapper::CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups [all...] |
/external/freetype/src/sfnt/ |
ttcmap.c | 5 /* TrueType character mapping table (cmap) support (body). */ 55 tt_cmap_init( TT_CMap cmap, 58 cmap->data = table; 124 tt_cmap0_char_index( TT_CMap cmap, 127 FT_Byte* table = cmap->data; 135 tt_cmap0_char_next( TT_CMap cmap, 138 FT_Byte* table = cmap->data; 161 tt_cmap0_get_info( TT_CMap cmap, 164 FT_Byte* p = cmap->data + 4; 279 /* outside of the CMap). * 660 TT_CMapRec cmap; member in struct:TT_CMap4Rec_ 2046 TT_CMapRec cmap; member in struct:TT_CMap12Rec_ 2375 TT_CMapRec cmap; member in struct:TT_CMap13Rec_ 2726 TT_CMapRec cmap; member in struct:TT_CMap14Rec_ [all...] |
/external/pdfium/third_party/freetype/src/sfnt/ |
ttcmap.c | 5 /* TrueType character mapping table (cmap) support (body). */ 55 tt_cmap_init( TT_CMap cmap, 58 cmap->data = table; 124 tt_cmap0_char_index( TT_CMap cmap, 127 FT_Byte* table = cmap->data; 135 tt_cmap0_char_next( TT_CMap cmap, 138 FT_Byte* table = cmap->data; 161 tt_cmap0_get_info( TT_CMap cmap, 164 FT_Byte* p = cmap->data + 4; 279 /* outside of the CMap). * 660 TT_CMapRec cmap; member in struct:TT_CMap4Rec_ 2046 TT_CMapRec cmap; member in struct:TT_CMap12Rec_ 2375 TT_CMapRec cmap; member in struct:TT_CMap13Rec_ 2726 TT_CMapRec cmap; member in struct:TT_CMap14Rec_ [all...] |
/external/freetype/src/cff/ |
cffcmap.h | 5 /* CFF character mapping table (cmap) support (specification). */ 40 FT_CMapRec cmap; member in struct:CFF_CMapStdRec_ 52 /***** CFF SYNTHETIC UNICODE ENCODING CMAP *****/
|
cffcmap.c | 5 /* CFF character mapping table (cmap) support (body). */ 36 cff_cmap_encoding_init( CFF_CMapStd cmap, 39 TT_Face face = (TT_Face)FT_CMAP_FACE( cmap ); 46 cmap->gids = encoding->codes; 53 cff_cmap_encoding_done( CFF_CMapStd cmap ) 55 cmap->gids = NULL; 60 cff_cmap_encoding_char_index( CFF_CMapStd cmap, 67 result = cmap->gids[char_code]; 74 cff_cmap_encoding_char_next( CFF_CMapStd cmap, 93 result = cmap->gids[code] [all...] |
/external/pdfium/third_party/freetype/src/cff/ |
cffcmap.h | 5 /* CFF character mapping table (cmap) support (specification). */ 40 FT_CMapRec cmap; member in struct:CFF_CMapStdRec_ 52 /***** CFF SYNTHETIC UNICODE ENCODING CMAP *****/
|
cffcmap.c | 5 /* CFF character mapping table (cmap) support (body). */ 36 cff_cmap_encoding_init( CFF_CMapStd cmap, 39 TT_Face face = (TT_Face)FT_CMAP_FACE( cmap ); 46 cmap->gids = encoding->codes; 53 cff_cmap_encoding_done( CFF_CMapStd cmap ) 55 cmap->gids = NULL; 60 cff_cmap_encoding_char_index( CFF_CMapStd cmap, 67 result = cmap->gids[char_code]; 74 cff_cmap_encoding_char_next( CFF_CMapStd cmap, 93 result = cmap->gids[code] [all...] |
/external/sfntly/cpp/src/test/autogenerated/ |
cmap_basic_test.cc | 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; local 96 cmap.Attach(cmap_table_->GetCMap(platform_id, encoding_id)); 97 if (!cmap) { 102 ASSERT_EQ(cmap->platform_id(), platform_id) [all...] |
/external/sfntly/cpp/src/sfntly/table/core/ |
cmap_table.h | 33 // CMap subtable formats 48 // A CMap table 69 // A filter on cmap 73 // Test on whether the cmap is acceptable or not 74 // @param cmap_id the id of the cmap 75 // @return true if the cmap is acceptable; false otherwise 82 // wanted_id is the CMap we'd like to find. 83 // We compare the current CMap to it either by equality (==) or using a 101 // CMap equality is based on the equality of the (@link {@link CMapId} that 102 // defines the CMap. In the cmap table for a font there can only be one cma [all...] |
cmap_table.cc | 60 CALLER_ATTACH CMapTable::CMap* CMapTable::GetCMap(const int32_t index) { 63 throw IndexOutOfBoundException("Requested CMap index is out of bounds."); 73 (CMap::Builder::GetBuilder(data_, offset_, cmap_id)); 76 throw NoSuchElementException("Cannot find builder for requested CMap."); 81 return down_cast<CMapTable::CMap*>(cmap_builder->Build()); 84 CALLER_ATTACH CMapTable::CMap* CMapTable::GetCMap(const int32_t platform_id, 89 CALLER_ATTACH CMapTable::CMap* 93 // There can only be one cmap with a particular CMapId 95 Ptr<CMapTable::CMap> cmap; local [all...] |
/external/sfntly/cpp/src/sfntly/tools/subsetter/ |
subsetter.h | 39 // font for any of the provided cmap ids which would lead to a font with no 40 // cmap then an error will be thrown during subsetting. 42 // * a list of one or more cmap ids with a count setting of 1 43 // This will use the list of cmap ids as an ordered priority and look for 44 // an available cmap in the font that matches the requests. Only the first 46 // * a list of one or more cmap ids with a count setting equal to the list 48 // This will use the list of cmap ids and try to place each one specified 50 // @param cmapIds the cmap ids to use for the subsetted font
|
/external/harfbuzz_ng/src/ |
hb-ot-font.cc | 33 #include "hb-ot-cmap-table.hh" 102 this->blob = OT::Sanitizer<OT::cmap>::sanitize (face->reference_table (HB_OT_TAG_cmap)); 103 const OT::cmap *cmap = OT::Sanitizer<OT::cmap>::lock_instance (this->blob); local 108 if (!subtable) subtable = cmap->find_subtable (3, 10); 109 if (!subtable) subtable = cmap->find_subtable (0, 6); 110 if (!subtable) subtable = cmap->find_subtable (0, 4); 112 if (!subtable) subtable = cmap->find_subtable (3, 1); 113 if (!subtable) subtable = cmap->find_subtable (0, 3) 157 hb_ot_face_cmap_accelerator_t cmap; member in struct:hb_ot_font_t [all...] |
/external/freetype/src/cache/ |
ftccmap.c | 67 /* the cmap cache node */ 106 /* initialize a new cmap node */ 136 /* compute the weight of a given cmap node */ 148 /* compare a cmap node to a given query */ 247 /* Treat a negative cmap index as a special value, meaning that you */ 305 FT_CharMap old, cmap = NULL; local 309 cmap = face->charmaps[cmap_index]; 311 if ( old != cmap && !no_cmap_change ) 312 FT_Set_Charmap( face, cmap ); 316 if ( old != cmap && !no_cmap_change [all...] |
/external/freetype/include/internal/services/ |
svttcmap.h | 5 /* The FreeType TrueType/sfnt cmap extra information service. */ 41 /* A structure used to store TrueType/sfnt specific cmap information */ 51 /* The cmap format. OpenType 1.5 defines the formats 0 (byte */
|