Searched refs:cff (Results 1 - 25 of 28) sorted by relevance

12

/external/fonttools/Lib/fontTools/ttLib/tables/
H A DC_F_F_.py11 self.cff = cffLib.CFFFontSet()
15 self.cff.decompile(StringIO(data), otFont)
16 assert len(self.cff) == 1, "can't deal with multi-font CFF tables."
20 self.cff.compile(f, otFont)
24 if hasattr(self.cff[self.cff.fontNames[0]], "ROS"):
34 return self.cff[self.cff.fontNames[0]].getGlyphOrder()
39 #self.cff[self.cff
[all...]
/external/fonttools/Tools/fontTools/ttLib/tables/
H A DC_F_F_.py11 self.cff = cffLib.CFFFontSet()
15 self.cff.decompile(StringIO(data), otFont)
16 assert len(self.cff) == 1, "can't deal with multi-font CFF tables."
20 self.cff.compile(f, otFont)
24 if hasattr(self.cff[self.cff.fontNames[0]], "ROS"):
34 return self.cff[self.cff.fontNames[0]].getGlyphOrder()
39 #self.cff[self.cff
[all...]
/external/freetype/src/cff/
H A Dcffcmap.c40 CFF_Font cff = (CFF_Font)face->extra.data; local
41 CFF_Encoding encoding = &cff->encoding;
137 CFF_Font cff = (CFF_Font)face->extra.data; local
138 CFF_Charset charset = &cff->charset;
142 return cff_index_get_sid_string( cff, sid );
152 CFF_Font cff = (CFF_Font)face->extra.data; local
153 CFF_Charset charset = &cff->charset;
154 FT_Service_PsCMaps psnames = (FT_Service_PsCMaps)cff->psnames;
166 cff->num_glyphs,
190 CFF_Font cff local
203 CFF_Font cff = (CFF_Font)face->extra.data; local
[all...]
H A Dcffdrivr.c372 CFF_Font cff; local
380 cff = (CFF_FontRec *)face->extra.data;
381 charset = &cff->charset;
385 if ( cff->version_major == 2 )
412 for ( i = 0; i < cff->num_glyphs; i++ )
417 name = cff_index_get_string( cff, sid - 391 );
456 CFF_Font cff = (CFF_Font)face->extra.data; local
460 if ( cff && !cff->font_info )
462 CFF_FontRecDict dict = &cff
517 CFF_Font cff = (CFF_Font)face->extra.data; local
609 CFF_Font cff = (CFF_Font)face->extra.data; local
664 CFF_Font cff = (CFF_Font)face->extra.data; local
688 CFF_Font cff; local
[all...]
H A Dcffpic.c5 /* The FreeType position independent code services for cff module. */
68 if ( pic_container->cff )
70 CffModulePIC* container = (CffModulePIC*)pic_container->cff;
82 pic_container->cff = NULL;
100 pic_container->cff = container;
H A Dcffobjs.c583 CFF_Font cff = NULL; local
590 if ( FT_NEW( cff ) )
593 face->extra.data = cff;
597 cff,
607 cffface->num_faces = (FT_Long)cff->num_faces;
611 cff->pshinter = pshinter;
612 cff->psnames = psnames;
620 cffface->num_glyphs = (FT_Long)cff->num_glyphs;
622 dict = &cff->top_font.font_dict;
647 s = cff_index_get_sid_string( cff, id
1146 CFF_Font cff = (CFF_Font)face->extra.data; local
[all...]
H A Dcffgload.h136 cff_lookup_glyph_by_stdcharcode( CFF_Font cff,
163 CFF_Font cff; member in struct:CFF_Decoder_
H A Dcf2ft.c307 FT_ASSERT( decoder && decoder->cff );
312 font = (CF2_Font)decoder->cff->cf2_instance.data;
315 if ( !decoder->cff->cf2_instance.data )
317 decoder->cff->cf2_instance.finalizer =
320 if ( FT_ALLOC( decoder->cff->cf2_instance.data,
324 font = (CF2_Font)decoder->cff->cf2_instance.data;
424 FT_ASSERT( decoder && decoder->cff );
426 return &decoder->cff->vstore;
434 FT_ASSERT( decoder && decoder->cff );
436 return decoder->cff
[all...]
H A Dcffgload.c390 CFF_Font cff = (CFF_Font)face->extra.data; local
400 decoder->cff = cff;
401 decoder->num_globals = cff->global_subrs_index.count;
402 decoder->globals = cff->global_subrs;
404 cff->top_font.font_dict.charstring_type,
419 CFF_Font cff = (CFF_Font)builder->face->extra.data; local
420 CFF_SubFont sub = &cff->top_font;
425 if ( cff->num_subfonts )
427 FT_Byte fd_index = cff_fd_select_get( &cff
683 CFF_Font cff = (CFF_Font)(face->extra.data); local
719 CFF_Font cff = (CFF_Font)(face->extra.data); local
767 CFF_Font cff = (CFF_Font)(face->extra.data); local
2743 CFF_Font cff = (CFF_Font)face->extra.data; local
[all...]
H A Dcffpic.h5 /* The FreeType position independent code services for cff module. */
75 ( (CffModulePIC*)( (lib)->pic_container.cff ) )
/external/pdfium/third_party/freetype/src/cff/
H A Dcffcmap.c40 CFF_Font cff = (CFF_Font)face->extra.data; local
41 CFF_Encoding encoding = &cff->encoding;
131 CFF_Font cff = (CFF_Font)face->extra.data; local
132 CFF_Charset charset = &cff->charset;
136 return cff_index_get_sid_string( cff, sid );
146 CFF_Font cff = (CFF_Font)face->extra.data; local
147 CFF_Charset charset = &cff->charset;
148 FT_Service_PsCMaps psnames = (FT_Service_PsCMaps)cff->psnames;
160 cff->num_glyphs,
184 CFF_Font cff local
197 CFF_Font cff = (CFF_Font)face->extra.data; local
[all...]
H A Dcffdrivr.c324 CFF_Font cff; local
332 cff = (CFF_FontRec *)face->extra.data;
333 charset = &cff->charset;
339 for ( i = 0; i < cff->num_glyphs; i++ )
344 name = cff_index_get_string( cff, sid - 391 );
382 CFF_Font cff = (CFF_Font)face->extra.data; local
386 if ( cff && cff->font_info == NULL )
388 CFF_FontRecDict dict = &cff->top_font.font_dict;
396 font_info->version = cff_index_get_sid_string( cff,
440 CFF_Font cff = (CFF_Font)face->extra.data; local
529 CFF_Font cff = (CFF_Font)face->extra.data; local
584 CFF_Font cff = (CFF_Font)face->extra.data; local
608 CFF_Font cff; local
[all...]
H A Dcffpic.c5 /* The FreeType position independent code services for cff module. */
68 if ( pic_container->cff )
70 CffModulePIC* container = (CffModulePIC*)pic_container->cff;
82 pic_container->cff = NULL;
100 pic_container->cff = container;
H A Dcffobjs.c571 CFF_Font cff = NULL; local
578 if ( FT_NEW( cff ) )
581 face->extra.data = cff;
582 error = cff_font_load( library, stream, face_index, cff, pure_cff );
591 cff->pshinter = pshinter;
592 cff->psnames = psnames;
600 cffface->num_glyphs = (FT_Long)cff->num_glyphs;
602 dict = &cff->top_font.font_dict;
625 for ( idx = 0; idx < cff->num_strings + 390; idx++ )
627 s = cff_index_get_sid_string( cff, id
1030 CFF_Font cff = (CFF_Font)face->extra.data; local
[all...]
H A Dcffgload.c390 CFF_Font cff = (CFF_Font)face->extra.data; local
400 decoder->cff = cff;
401 decoder->num_globals = cff->global_subrs_index.count;
402 decoder->globals = cff->global_subrs;
404 cff->top_font.font_dict.charstring_type,
419 CFF_Font cff = (CFF_Font)builder->face->extra.data; local
420 CFF_SubFont sub = &cff->top_font;
425 if ( cff->num_subfonts )
427 FT_Byte fd_index = cff_fd_select_get( &cff
683 CFF_Font cff = (CFF_Font)(face->extra.data); local
719 CFF_Font cff = (CFF_Font)(face->extra.data); local
767 CFF_Font cff = (CFF_Font)(face->extra.data); local
2617 CFF_Font cff = (CFF_Font)face->extra.data; local
[all...]
H A Dcffgload.h136 cff_lookup_glyph_by_stdcharcode( CFF_Font cff,
163 CFF_Font cff; member in struct:CFF_Decoder_
H A Dcffpic.h5 /* The FreeType position independent code services for cff module. */
69 ( (CffModulePIC*)( (lib)->pic_container.cff ) )
H A Dcf2ft.c306 FT_ASSERT( decoder && decoder->cff );
311 font = (CF2_Font)decoder->cff->cf2_instance.data;
314 if ( decoder->cff->cf2_instance.data == NULL )
316 decoder->cff->cf2_instance.finalizer =
319 if ( FT_ALLOC( decoder->cff->cf2_instance.data,
323 font = (CF2_Font)decoder->cff->cf2_instance.data;
593 gid = cff_lookup_glyph_by_stdcharcode( decoder->cff, code );
/external/freetype/include/freetype/internal/
H A Dftpic.h41 void* cff; member in struct:FT_PIC_Container_
/external/pdfium/third_party/freetype/include/freetype/internal/
H A Dftpic.h41 void* cff; member in struct:FT_PIC_Container_
/external/skia/src/sfnt/
H A DSkOTTable_maxp.h27 struct CFF : SkOTTableMaximumProfile_CFF { } cff; member in union:SkOTTableMaximumProfile::Version
/external/fonttools/Lib/fontTools/ttLib/
H A D__init__.py433 cff = self['CFF ']
434 self.glyphOrder = cff.getGlyphOrder()
658 return list(self["CFF "].cff.values())[0].CharStrings
662 return list(self["CFF "].cff.values())[0].CharStrings
/external/fonttools/Tools/fontTools/ttLib/
H A D__init__.py433 cff = self['CFF ']
434 self.glyphOrder = cff.getGlyphOrder()
658 return list(self["CFF "].cff.values())[0].CharStrings
662 return list(self["CFF "].cff.values())[0].CharStrings
/external/fonttools/Lib/fontTools/
H A Dsubset.py1327 cff = self.cff
1329 cff.fontNames = cff.fontNames[:1]
1332 for fontname in cff.keys():
1333 font = cff[fontname]
1339 return True # bool(cff.fontNames)
1343 cff = self.cff
1344 for fontname in cff
[all...]
/external/fonttools/Tools/fontTools/
H A Dsubset.py1327 cff = self.cff
1329 cff.fontNames = cff.fontNames[:1]
1332 for fontname in cff.keys():
1333 font = cff[fontname]
1339 return True # bool(cff.fontNames)
1343 cff = self.cff
1344 for fontname in cff
[all...]

Completed in 534 milliseconds

12