/external/freetype/src/cff/ |
H A D | cffcmap.h | 5 /* CFF character mapping table (cmap) support (specification). */ 40 FT_CMapRec cmap; member in struct:CFF_CMapStdRec_
|
H A D | cffdrivr.c | 395 * If the charmap is a synthetic Unicode encoding cmap or 396 * a Type 1 standard (or expert) encoding cmap, hide TT CMAP INFO 406 FT_CMap cmap = FT_CMAP( charmap ); local 408 FT_Face face = FT_CMAP_FACE( cmap ); 415 if ( cmap->clazz != &FT_CFF_CMAP_ENCODING_CLASS_REC_GET && 416 cmap->clazz != &FT_CFF_CMAP_UNICODE_CLASS_REC_GET )
|
H A D | cffobjs.c | 553 /* load the `cmap' table explicitly */ 925 /* already. If an OpenType font contains a Unicode "cmap", we */ 929 FT_CharMap cmap; local 936 cmap = cffface->charmaps[nn]; 939 if ( cmap->platform_id == TT_PLATFORM_MICROSOFT && 940 cmap->encoding_id == TT_MS_ID_UNICODE_CS ) 944 if ( cmap->platform_id == TT_PLATFORM_APPLE_UNICODE ) 949 /* construct a cmap */ 956 FT_ERROR(( "cff_face_init: no Unicode cmap is found, " 957 "and too many subtables (%d) to add synthesized cmap\ [all...] |
/external/freetype/src/psaux/ |
H A D | t1cmap.h | 42 FT_CMapRec cmap; member in struct:T1_CMapStdRec_ 72 FT_CMapRec cmap; member in struct:T1_CMapCustomRec_
|
H A D | t1cmap.c | 35 t1_cmap_std_init( T1_CMapStd cmap, argument 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 [all...] |
/external/icu4c/samples/layout/ |
H A D | 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) argument 78 : fcmap(cmap)
|
H A D | GnomeFontInstance.cpp | 102 const CMAPTable *cmap = (const CMAPTable *) readFontTable(cmapTag); local 104 if (cmap == NULL) { 108 fMapper = CMAPMapper::createUnicodeMapper(cmap);
|
H A D | cmaps.cpp | 59 CMAPMapper *CMAPMapper::createUnicodeMapper(const CMAPTable *cmap) argument 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) argument 111 : CMAPMapper(cmap) 170 CMAPGroupMapper::CMAPGroupMapper(const CMAPTable *cmap, cons argument [all...] |
H A D | GDIFontInstance.cpp | 320 const CMAPTable *cmap = (const CMAPTable *) readFontTable(cmapTag); local 322 if (cmap == NULL) { 326 fMapper = CMAPMapper::createUnicodeMapper(cmap);
|
/external/icu4c/test/letest/ |
H A D | 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) argument 74 : fcmap(cmap)
|
H A D | cmaps.cpp | 53 CMAPMapper *CMAPMapper::createUnicodeMapper(const CMAPTable *cmap) argument 56 le_uint16 nSubtables = SWAPW(cmap->numberSubtables); 61 const CMAPEncodingSubtableHeader *esh = &cmap->encodingSubtableHeaders[i]; 79 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + offset10); 81 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + offset1); 88 return new CMAPFormat4Mapper(cmap, (const CMAPFormat4Encoding *) subtable); 94 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups)); 104 CMAPFormat4Mapper::CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header) argument 105 : CMAPMapper(cmap) 164 CMAPGroupMapper::CMAPGroupMapper(const CMAPTable *cmap, cons argument [all...] |
H A D | PortableFontInstance.cpp | 248 const CMAPTable *cmap = (CMAPTable *) readFontTable(cmapTag); local 250 if (cmap == NULL) { 254 return CMAPMapper::createUnicodeMapper(cmap);
|
/external/freetype/src/sfnt/ |
H A D | ttcmap.h | 5 /* TrueType character mapping table (cmap) support (specification). */ 36 FT_CMapRec cmap; member in struct:TT_CMapRec_ 37 FT_Byte* data; /* pointer to in-memory cmap table */
|
/external/freetype/include/freetype/internal/services/ |
H A D | svpscmap.h | 66 FT_CMapRec cmap; member in struct:PS_UnicodesRec_
|
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | testwin.c | 28 SDL_Color *colors, *cmap; local 46 cmap = (SDL_Color *)malloc(ncolors*sizeof(SDL_Color)); 55 cmap = (SDL_Color *)malloc(ncolors*sizeof(SDL_Color)); 151 memcpy(cmap, colors, ncolors*sizeof(SDL_Color)); 207 cdist[i].r = cmap[i].r-palcolors[i].r; 208 cdist[i].g = cmap[i].g-palcolors[i].g; 209 cdist[i].b = cmap[i].b-palcolors[i].b; 230 free(colors); free(cmap);
|
H A D | testpalette.c | 133 SDL_Color cmap[256]; local 192 memset(cmap, 0, sizeof(cmap)); 193 SDL_SetPalette(screen, SDL_PHYSPAL, cmap, 0, 256); 210 memcpy(cmap, screen->format->palette->colors, 256 * sizeof(SDL_Color)); 290 cmap[boatcols + ((i + frames) & 63)] = wavemap[i]; 312 memcpy(cmap, screen->format->palette->colors, 315 cmap[i].r = cmap[i].r * fade_level / fade_max; 316 cmap[ [all...] |
/external/freetype/src/cache/ |
H A D | ftccmap.c | 107 /* the cmap cache node */ 148 /* initialize a new cmap node */ 178 /* compute the weight of a given cmap node */ 190 /* compare a cmap node to a given query */ 274 * compatibility in the cmap cache. The FTC_CMapCache_Lookup signature 304 /* Treat a negative cmap index as a special value, meaning that you */ 413 FT_CharMap old, cmap = NULL; local 417 cmap = face->charmaps[cmap_index]; 419 if ( old != cmap && !no_cmap_change ) 420 FT_Set_Charmap( face, cmap ); [all...] |
/external/skia/src/images/ |
H A D | SkImageDecoder_libgif.cpp | 108 const ColorMapObject* cmap = gif->Image.ColorMap; local 109 if (NULL == cmap) { 110 cmap = gif->SColorMap; 113 if (NULL == cmap) { 118 if (cmap && ((unsigned)cmap->ColorCount > 256 || 119 cmap->ColorCount != (1 << cmap->BitsPerPixel))) { 120 cmap = NULL; 122 return cmap; 219 const ColorMapObject* cmap = find_colormap(gif); local [all...] |
H A D | SkMovie_gif.cpp | 112 static void copyLine(uint32_t* dst, const unsigned char* src, const ColorMapObject* cmap, argument 117 const GifColorType& col = cmap->Colors[*src]; 124 const ColorMapObject* cmap, int transparent, int copyWidth, 132 copyLine(dst, src, cmap, transparent, copyWidth); 140 static void blitInterlace(SkBitmap* bm, const SavedImage* frame, const ColorMapObject* cmap, argument 159 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 8, 0); 162 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 8, 4); 165 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 4, 2); 167 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 2, 1); 170 static void blitNormal(SkBitmap* bm, const SavedImage* frame, const ColorMapObject* cmap, argument 123 copyInterlaceGroup(SkBitmap* bm, const unsigned char*& src, const ColorMapObject* cmap, int transparent, int copyWidth, int copyHeight, const GifImageDesc& imageDesc, int rowStep, int startRow) argument 219 drawFrame(SkBitmap* bm, const SavedImage* frame, const ColorMapObject* cmap) argument [all...] |
/external/qemu/android/ |
H A D | charmap.c | 664 android_charmap_reverse_map_unicode(const AKeyCharmap* cmap, argument 675 for (n = 0; n < cmap->num_entries; n++) { 676 if (cmap->entries[n].base == unicode) { 677 android_keycodes_add_key_event(keycodes, cmap->entries[n].code, down); 683 for (n = 0; n < cmap->num_entries; n++) { 684 if (cmap->entries[n].caps == unicode) { 688 android_keycodes_add_key_event(keycodes, cmap->entries[n].code, down); 697 for (n = 0; n < cmap->num_entries; n++) { 698 if (cmap->entries[n].fn == unicode) { 702 android_keycodes_add_key_event(keycodes, cmap [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/ |
H A D | SDL_sysvideo.cc | 792 const color_map *cmap = BScreen().ColorMap(); local 797 palette->colors[i].r = cmap->color_list[i].red; 798 palette->colors[i].g = cmap->color_list[i].green; 799 palette->colors[i].b = cmap->color_list[i].blue;
|
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/XME/ |
H A D | xme.c | 103 CARD32 cmap; member in struct:__anon10550 373 Bool XiGMiscFullScreen(Display *dpy, int screen, XID window, XID cmap) argument 387 req->cmap = cmap;
|
/external/skia/src/pdf/ |
H A D | SkPDFFont.cpp | 344 static void append_tounicode_header(SkDynamicMemoryWStream* cmap) { argument 351 cmap->writeText(kHeader); 363 cmap->writeText(kSysInfo); 377 cmap->writeText(kTypeInfo); 380 static void append_cmap_footer(SkDynamicMemoryWStream* cmap) { argument 386 cmap->writeText(kFooter); 401 SkDynamicMemoryWStream* cmap) { 406 cmap->writeDecAsText(count); 407 cmap->writeText(" beginbfchar\n"); 409 cmap 400 append_bfchar_section(const SkTDArray<BFChar>& bfchar, SkDynamicMemoryWStream* cmap) argument 419 append_bfrange_section(const SkTDArray<BFRange>& bfrange, SkDynamicMemoryWStream* cmap) argument 466 append_cmap_sections(const SkTDArray<SkUnichar>& glyphToUnicode, const SkPDFGlyphSet* subset, SkDynamicMemoryWStream* cmap) argument [all...] |
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
H A D | FontCacheChromiumWin.cpp | 273 // no use. We have to read directly from the cmap table of a font. 314 icu::UnicodeSet* cmap = new icu::UnicodeSet; local 317 cmap->add(start, start + glyphset->ranges[i].cGlyphs - 1); 320 cmap->freeze(); 323 fontCmapCache->set(family, cmap); 324 return cmap->contains(character);
|
/external/freetype/include/freetype/internal/ |
H A D | ftobjs.h | 150 (*FT_CMap_InitFunc)( FT_CMap cmap, 154 (*FT_CMap_DoneFunc)( FT_CMap cmap ); 157 (*FT_CMap_CharIndexFunc)( FT_CMap cmap, 161 (*FT_CMap_CharNextFunc)( FT_CMap cmap, 165 (*FT_CMap_CharVarIndexFunc)( FT_CMap cmap, 171 (*FT_CMap_CharVarIsDefaultFunc)( FT_CMap cmap, 176 (*FT_CMap_VariantListFunc)( FT_CMap cmap, 180 (*FT_CMap_CharVariantListFunc)( FT_CMap cmap, 185 (*FT_CMap_VariantCharListFunc)( FT_CMap cmap, 258 FT_CMap_Done( FT_CMap cmap ); variable [all...] |